-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme-50s-diner.css
More file actions
208 lines (181 loc) · 3.73 KB
/
theme-50s-diner.css
File metadata and controls
208 lines (181 loc) · 3.73 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
/* STUDIO by DOSAYGO Theme - 1950s Diner Skydiver */
/* 1950s diner aesthetic with a skydiving theme */
/* Palette: Sky Blue (#87CEEB), Diner Pink (#FF6EB4), Chrome Silver (#C0C0C0), Retro Red (#FF4040), Diner White (#F5F5F5) */
/* Typography: 'Courier New' for typewriter retro, 'Diner' (or 'Futura') for retro headings */
/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Courier New', monospace;
font-size: 16px;
line-height: 1.6;
color: #FF4040; /* Retro Red for body text */
background: #87CEEB; /* Sky Blue for backdrop */
transition: background 0.3s ease, color 0.3s ease;
}
/* Header */
header {
background: #FF6EB4; /* Diner Pink for header */
padding: 1.5rem 2rem;
text-align: center;
position: sticky;
top: 0;
z-index: 10;
border-bottom: 5px solid #C0C0C0; /* Chrome Silver border */
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}
header h1 {
font-family: 'Futura', sans-serif;
font-size: 2.5rem;
font-weight: normal;
color: #F5F5F5;
text-transform: uppercase;
letter-spacing: 0.2em;
text-shadow: 2px 2px #FF4040; /* Retro Red shadow */
}
nav {
margin: 1rem 0;
}
nav a {
font-family: 'Courier New', monospace;
color: #F5F5F5;
text-decoration: none;
margin: 0 1.5rem;
font-size: 1.2rem;
padding: 0.5rem 1rem;
border: 2px solid #C0C0C0;
background: #FF4040;
transition: background 0.3s ease, color 0.3s ease;
}
nav a:hover {
background: #C0C0C0;
color: #FF4040;
}
/* Main Content */
main {
max-width: 900px;
margin: 2rem auto;
padding: 0 2rem;
display: flex;
flex-direction: column;
gap: 2rem;
}
article {
background: #F5F5F5; /* Diner White for articles */
border: 3px solid #FF6EB4; /* Diner Pink border */
padding: 2rem;
box-shadow: 5px 5px 0 #87CEEB; /* Sky Blue shadow */
position: relative;
border-radius: 10px;
}
article h2 {
font-family: 'Futura', sans-serif;
font-size: 2rem;
font-weight: normal;
color: #FF4040;
margin-bottom: 1.5rem;
text-align: center;
text-transform: uppercase;
}
article h3 {
font-family: 'Courier New', monospace;
font-size: 1.6rem;
font-weight: normal;
color: #87CEEB;
margin: 1.5rem 0 0.5rem;
}
article p {
margin-bottom: 1.5rem;
text-align: justify;
}
article ul {
list-style-type: none;
margin-bottom: 1.5rem;
}
article ul li {
margin-bottom: 1rem;
position: relative;
padding-left: 1.5rem;
}
article ul li:before {
content: '🪂';
position: absolute;
left: 0;
font-size: 1.2rem;
}
/* Author Info */
.author {
font-style: italic;
color: #FF4040;
margin-bottom: 1.5rem;
font-size: 0.95rem;
text-align: center;
}
/* Image Placeholders */
img {
display: block;
width: 100%;
max-width: 300px;
height: auto;
margin: 2rem auto;
border: 3px solid #C0C0C0;
border-radius: 50%;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
/* Code Blocks */
pre {
font-family: 'Courier New', monospace;
background: #87CEEB;
padding: 1.5rem;
margin: 1.5rem 0;
box-sizing: border-box;
overflow-x: auto;
border: 2px solid #FF6EB4;
}
code {
line-height: 1.6;
white-space: pre-wrap;
word-break: break-word;
color: #FF4040;
}
/* Footer */
footer {
text-align: center;
padding: 2rem;
background: #FF6EB4;
color: #F5F5F5;
font-size: 0.9rem;
}
footer a {
color: #87CEEB;
text-decoration: none;
transition: color 0.3s ease;
}
footer a:hover {
color: #FF4040;
}
/* Links */
a, a:visited, a:hover, a:focus, a:link, a:active {
color: #87CEEB;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover, a:focus {
color: #FF4040;
}
/* Responsive Design */
@media (max-width: 768px) {
header {
padding: 1rem;
}
header h1 {
font-size: 1.8rem;
}
nav a {
margin: 0 0.5rem;
font-size: 1rem;
}
}