-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
158 lines (137 loc) · 3.04 KB
/
style.css
File metadata and controls
158 lines (137 loc) · 3.04 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
*{
scroll-behavior: smooth;
}
nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: #fff;
border-bottom: 1px solid #ddd;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
z-index: 1000;
}
.nav-container {
display: flex;
justify-content: space-around;
align-items: center;
padding: 10px 20px;
max-width: 1100px;
margin: 0 auto;
}
.nav-container a {
text-decoration: none;
color: #111;
font-weight: 500;
letter-spacing: 0.5px;
text-transform: uppercase;
font-size: 14px;
transition: color 0.2s ease, border-bottom 0.2s ease;
padding-bottom: 4px;
}
.nav-container a:hover {
color: #555;
border-bottom: 2px solid #000;
}
body {
line-height: 1.6;
margin: 0;
}
main {
transition: padding 0.3s ease;
margin-top: 70px; /* space for fixed nav */
padding: 20px;
}
.prose {
font-size: 1.125rem;
line-height: 1.75;
}
.prose p {
margin-bottom: 1.5em;
}
/* Smooth responsive padding transition */
/* Chart container responsive adjustments */
canvas {
max-width: 100%;
height: auto;
}
#score-chart {
--tw-bg-opacity: 1;
background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
display: flex;
flex-direction: column;
align-items: center;
margin: 40px;
}
#score-chart h1 {
color: #222;
margin-bottom: 20px;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: bold;
}
#score-chart canvas {
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
#score-chart .controls {
margin-top: 20px;
}
#score-chart button {
margin: 5px;
padding: 10px 16px;
border: 1px solid #222;
border-radius: 6px;
background-color: #fff;
color: #111;
cursor: pointer;
font-size: 14px;
transition: all 0.2s ease;
}
#score-chart button:hover {
background-color: #222;
color: #fff;
}
#media-invite{
display: flex; align-items: start; justify-content: center; flex-wrap: wrap; margin-inline: auto;
}
@media (max-width: 768px) {
.prose {
font-size: 1rem;
}
.float-right {
float: none !important;
margin-left: 0 !important;
margin-bottom: 2rem !important;
width: 100% !important;
}
.float-right img{
width: 80% !important;
margin: auto;
}
#media-invite div:first-of-type{
width: 80% !important;
}
#media-invite div:nth-of-type(2){
width: 100% !important;
margin-top: 20px;
padding-left: 0 !important;
}
}
@media (max-width: 600px) {
nav{
display: none;
}
main {
margin-top: 0; /* space for fixed nav */
}
#home img{
width: 100%;
height: auto;
}
#temp{
display: block !important;
}
}