Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.6 kB
1
Indexable
Never
body {
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#quote {
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-family: "Arial", sans-serif;
    position: absolute;
    bottom: 30px;
    left: 200px; /* Set the minimum distance from the left side of the screen */
    right: 200px; /* Set the minimum distance from the right side of the screen */
    text-align: center; /* Center align the quote */
    z-index: 1;
    transition: transform 0.3s ease;
  }


#author {
    font-size: 1.25rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

#time {
    font-size: 10rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-family: "Arial", sans-serif;
    z-index: 1;
}

#greeting {
    font-size: 7rem;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-family: "Arial", sans-serif;
    z-index: 1;
}



#vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}