Ancient Geekery

External link https://grassmedia.co.uk

Internal link here

				
					
    /* Default link styles */
selector a {
    color: #0066cc;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover state */
selector a:hover {
    color: #004080;
    text-decoration: underline;
}

/* Visited state */
selector a:visited {
    color: #551A8B;
}

/* Active state (when clicking) */
selector a:active {
    color: #ff0000;
}

/* Focus state (for accessibility) */
selector a:focus {
    outline: 2px solid #4d90fe;
    outline-offset: 2px;
}

/* External links */
selector a[href^="http"]:after {
    content: " \2197";
    font-size: 0.8em;
    vertical-align: super;
}

/* Download links */
selectora[href$=".pdf"]:before,
selector a[href$=".doc"]:before,
selector a[href$=".zip"]:before {
    content: "\1F4E5";
    margin-right: 5px;
}

/* Button-like links */
selector a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    border-radius: 4px;
}

selector a.button:hover {
    background-color: #45a049;
    text-decoration: none;
}

/* Underline animation on hover */
selector a.animated-underline {
    position: relative;
}

selector a.animated-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0066cc;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

selector a.animated-underline:hover::after {
    visibility: visible;
    transform: scaleX(1);
}