-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
111 lines (94 loc) · 1.67 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
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;
}