-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
179 lines (124 loc) · 3 KB
/
styles.css
File metadata and controls
179 lines (124 loc) · 3 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
/* General styles */
p, section{
/* Sets a max-width for all paragraphs */
max-width:550px;
/* Uses the margin trick to center */
margin:10px auto;
}
img{
/* Automatically resizes the images to fit the window width */
max-width: 100%;
height: auto;
/* Customizing border */
border: outset;
border-color: #8B4513;
padding: 5px;
border-width: 4px;
}
/* Link styles */
a{
color: #478bb8;
}
a:hover{
background: #e6e6e6;
}
/* Adding padding to the top of the article */
p.ex1 {
padding-top: 25px;
}
/* Body styles */
body{
/* Sets the font family for the body*/
font-family: 'Georgia', sans-serif;
}
/* Header styles */
header{
/* Centers the header text */
text-align: center;
/* Sets the font family for the body*/
font-family: 'Verdana', sans-serif;
}
/*customizing text for h1*/
header h1{
/* Limits the width of the headline so that it's more readable */
max-width: 760px;
/* Uses the margin trick to center */
margin: 10px auto;
/* Left-aligns the text */
text-align: left;
background-color: #CD853F;
font-family: 'Optima';
}
header h2, h3{
/* Limits the width of the headline so that it's more readable */
max-width: 750px;
/*Sets a smaller font size for h2s in the header section */
font-size: 18px;
/* Uses the margin trick to center */
margin: 10px auto;
/* Left-aligns the text */
text-align: left;
}
/*customizing text for h2*/
header h2 {
font-family: Verdana;
font-weight: normal;
font-style: italic;
}
/*customizing text for h3*/
header h3 {
/*Sets a smaller font size for h3s in the header section */
font-size: 14px;
font-family: Verdana;
font-weight: normal;
}
/* Styles for the banner image and caption */
figure.banner{
/* This display allows the figcaption to align with the image */
display:inline-block;
/* Uses the margin trick to center */
margin: 0px auto;
}
figcaption.bannerCaption{
/* Sets the font size for the caption text */
font-size: 12px;
/* Centers the caption text */
text-align: right;
/* A margin-left of 20px helps the caption appear centered with the image even though it's technically a little shorter */
margin-left: 20px;
}
/* Styles for section headers */
.content-block h2{
/* Tweaking the top and bottom margins to make them look neater */
margin-top: 30px;
margin-bottom: -5px;
}
/* Chart styles; customized color*/
p.chartWrapper {
/* Adds space above and below the chart */
margin-top: 20px;
margin-bottom: 20px;
/* Overrides the Max Width setting for paragraphs */
max-width: 700px;
padding: 20px;
border: 5px double #CD853F;
}
/* Twitter embed styles */
.twitter-tweet {
/* Adds a little space above and below */
padding-top: 20px;
padding-bottom: 20px;
/* Uses the margin trick to center */
margin: 10px auto;
}
/* Styles for the final section */
section.last{
/* Adds some breathing room after the last paragraph */
margin-bottom: 25px;
}
/* Styles for the credit line */
#credit {
text-align: right;
font-style: italic;
font-size: 12px;
}