-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathws_styles.css
261 lines (216 loc) · 4.93 KB
/
ws_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
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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
@charset "utf-8";
/*
New Perspectives on HTML5, CSS3, and JavaScript 6th Edition
Tutorial 13
Case Problem 4
Rhetoric in the United States General Style Sheet
Filename: ws_styles.css
*/
/* HTML and Body styles */
html {
background: rgb(221, 128, 160);
font-family: Baskerville, "Palatino Linotype", Palatino,
"Century Schoolbook L", "Times New Roman", serif;
color: rgb(101, 101, 101);
}
body {
background: rgb(182, 207, 221);
box-shadow: rgb(51, 51, 51) 10px 0px 30px, rgb(51, 51, 51) -10px 0px 30px;
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
margin: 0px auto;
min-width: 320px;
max-width: 1100px;
width: 100%;
}
/* Header Styles */
header {
background: linear-gradient(to bottom, white 70%, rgb(88, 183, 229));
border-bottom: 1px solid rgb(0, 0, 0);
color: white;
}
header > #wsimg,
header > #logoimg {
display: block;
width: 100%;
}
header > h1 {
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",
"DejaVu Sans", Verdana, sans-serif;
font-size: 1.15em;
font-weight: normal;
text-align: center;
padding: 5px 0px;
text-shadow: rgb(50, 50, 50) 0px 0px 5px;
}
/* Header Navigation List Styles */
header > nav {
float: left;
}
header > nav ul {
display: none;
margin-bottom: 15px;
}
header > nav ul li {
font-size: 0.9em;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",
"DejaVu Sans", Verdana, sans-serif;
line-height: 1.3em;
height: 1.3em;
margin-left: 25px;
}
header > nav ul li a {
color: rgb(28, 114, 140);
}
header > nav ul li a:hover {
color: rgb(255, 218, 250);
text-shadow: black 0px 0px 2px, black 0px 0px 5px, black 0px 0px 20px;
}
/* Section Styles */
body > section {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
-webkit-align-items: center;
align-items: center;
}
/* Article Styles */
article {
background: rgb(237, 237, 237);
-webkit-flex: 1 1 600px;
flex: 1 1 500px;
box-shadow: 10px 0px 20px rgb(101, 101, 101);
}
article h1 {
background: rgba(80, 102, 91, 0.32);
font-size: 1.5em;
text-align: center;
padding: 10px 0px;
}
article p {
margin: 10px 20px;
font-size: 1.15em;
line-height: 1.4em;
font-family: Baskerville, "Palatino Linotype", Palatino,
"Century Schoolbook L", "Times New Roman", "serif";
}
article div#speech {
height: 620px;
overflow: scroll;
}
/* Aside Styles */
aside {
background: rgb(182, 207, 221);
background: radial-gradient(
circle closest-side,
rgba(161, 101, 101, 0.6),
rgba(101, 101, 101, 0)
);
-webkit-flex: 1 1 230px;
flex: 1 1 230px;
padding: 8px;
text-align: justify;
}
aside h1 {
font-size: 2.8em;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",
"DejaVu Sans", Verdana, "sans-serif";
text-align: center;
margin: 10px 0px 20px;
}
/* Vertical Navigation Link Styles */
nav.vertical {
-webkit-flex: 1 1 800px;
flex: 1 1 800px;
background: rgba(177, 221, 199, 1);
border-bottom: 1px solid black;
}
nav.vertical ul {
-moz-column-width: 260px;
-webkit-column-width: 260px;
column-width: 260px;
-moz-column-gap: 15px;
-webkit-column-gap: 15px;
column-gap: 15px;
-moz-column-rule: 1px solid rgb(154, 64, 31);
-webkit-column-rule: 1px solid rgb(154, 64, 31);
column-rule: 1px solid rgb(154, 64, 31);
margin: 10px;
}
nav.vertical h1 {
background: rgba(80, 102, 91, 0.32);
font-size: 1.5em;
text-align: center;
padding: 10px 0px;
}
nav.vertical ul li {
font-size: 0.8em;
text-decoration: none;
margin-bottom: 1.2em;
}
/* Footer Styles */
footer {
background: rgba(126, 166, 192, 1);
color: rgba(233, 236, 219, 1);
display: block;
text-align: center;
font-size: 0.9em;
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans",
"DejaVu Sans", Verdana, sans-serif;
padding: 5px 0px;
width: 100%;
}
/* ===============================
Mobile Styles: 0px to 520px
===============================
*/
@media only screen and (max-width: 520px) {
a#navicon {
display: block;
}
a#navicon:hover + ul,
header nav ul:hover {
display: block;
}
}
/* =============================================
Tablet and Desktop Styles: greater than 520px
=============================================
*/
@media only screen and (min-width: 521px) {
body > header #navicon {
display: none;
}
body > header #wsimg {
float: right;
width: 200px;
}
body > header #logoimg {
width: 100%;
clear: right;
}
header > nav {
float: none;
}
header > nav ul {
display: -webkit-flex;
display: flex;
-webkit-flex-flow: row nowrap;
flex-flow: row nowrap;
-webkit-justify-content: flex-end;
justify-content: flex-end;
margin: 5px 10px 0px 0px;
}
header > nav ul li {
-webkit-flex: 0 1 auto;
flex: 0 1 auto;
font-size: 0.95em;
}
header > h1 {
font-size: 2em;
margin: 10px 0px 10px 0px;
}
}