Skip to content

Commit

Permalink
Create styles.css
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatSINEWAVE committed May 29, 2024
1 parent 8a572bc commit 279bd52
Showing 1 changed file with 111 additions and 0 deletions.
111 changes: 111 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

#container {
text-align: center;
}

.hidden {
display: none;
}

#intro,
#poem-container {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
max-width: 600px;
margin: auto;
transition: max-height 0.5s ease;
overflow: hidden;
}

#intro h1 {
font-size: 2em;
margin: 0 0 10px;
}

#intro p {
font-size: 1.2em;
margin: 0 0 20px;
}

button {
background-color: #1e1f22;
color: white;
border: none;
padding: 10px 20px;
font-size: 1em;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}

button:hover {
background-color: #454954;
}

#poem-container h2 {
font-size: 1.8em;
margin: 0 0 10px;
}

#poem-container p {
font-size: 1.2em;
font-style: italic;
margin: 0 0 20px;
}

#poem {
font-size: 1.2em;
margin: 0 0 20px;
}

#poem-container.expanded {
max-height: 80vh;
overflow-y: auto;
}

/* Custom scrollbar styling */
#poem-container.expanded::-webkit-scrollbar {
width: 10px;
}

#poem-container.expanded::-webkit-scrollbar-track {
background: #ffffff;
border-radius: 10px;
}

#poem-container.expanded::-webkit-scrollbar-thumb {
background: #1e1f22;
border-radius: 10px;
}

#poem-container.expanded::-webkit-scrollbar-thumb:hover {
background: #454954;
}

footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
padding: 10px;
background: transparent;
}

footer a {
margin: 0 15px;
display: inline-block;
font-size: 20px;
color: #1e1f22;
animation: neonGlow 2s infinite alternate;
}

0 comments on commit 279bd52

Please sign in to comment.