-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
251 lines (210 loc) · 3.81 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
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
/* all pages */
body {
font-family: "Helvetica", Helvetica, sans-serif;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
h1 {
font-family: cursive;
font-size: 2.25em;
font-weight: bold;
}
h2 {
font-variant:small-caps;
font-size: 2em;
margin: 5px;
}
h3 {
font-variant: small-caps;
font-size: 1.25em;
font-style: italic;
font-weight: normal;
}
.em {
font-style: italic;
}
.strong {
font-weight: bold;
}
.strike {
text-decoration: line-through;
}
.code {
font-family: monospace;
font-size: 90%;
background-color: lightgrey;
padding: .2em;
}
a:link {color: blue}
a:visited {color: purple}
a:hover {background-color: lightyellow}
.image p{
/*formating for image credits*/
font-variant: small-caps;
margin: 0px;
font-size: small;
}
ul, ol {
margin: 0px 10%;
padding: 5px;
}
li {
padding: 5px;
font-size: 80%;
}
fieldset {
border:none;
margin:0px;
padding:0px;
}
form>label {
font-weight:bold;
margin-bottom: 15px;
display: block;
text-align: center;
background-color: lightyellow;
}
textarea {
margin-left:4%;
margin-right:4%;
width: 90%;
height: 200px;
border-radius: 30px;
padding:10px;
border-color: grey;
}
button {
background-color: green;
text-align: center;
font-size:36px;
font-weight:bold;
color:white;
border:3px solid black;
border-radius: 60px;
padding: 20px 40px;
margin-left:20%;
margin-top:15px;
width: 60%;
}
footer {
font-size: 70%;
position: relative;
top: 200px;
}
@media screen and (max-width: 260px) {
div#icecream-credits {
display:none;
}
}
@media screen and (max-width: 400px) {
h1 {
font-size:1.75em;
}
}
@media screen and (max-width: 500px) {
#index-body div.image {
display:none;
}
}
/* homepage */
#index-main {
width: 70%;
margin-right:auto;
margin-left:auto;
}
@media screen and (max-width:835px) {
main#index-main {
width:50%;
}
}
.background-image-license {
background:white;
height:18px;
text-align: center;
}
[id^="background"] {
width: 14%;
min-width: 125px;
padding-bottom:100%;
min-height:2000px; /*this is a bit of a cop out. couldn't figure out how to get the right fluid height for this*/
background-image: url("images/bread-food-salad-sandwich.jpg");
background-repeat: repeat-y;
background-size:100%,auto;
background-position: 0px 18px;
}
#background-left {
float:left;
}
#background-right {
float:right;
}
.image img{
max-width:99%;
height: auto;
padding: 1px;
border: 3px solid black;
border-radius:30px;
margin:auto;
}
#contest-instructions {
border:4px double grey;
border-radius: 30px;
padding: 0px 10px;
margin-bottom:10px;
}
#contest-instructions ol{
list-style-type: lower-roman;
}
#contest-instructions li{
letter-spacing: 1px;
}
/*results page */
#contest-results {
margin:0px auto 0px auto;
}
#contest-results-image{
border: 1px solid white; /* Don't understand why i can't remove this border without messing things up*/
margin:0px;
padding:0px;
position: relative;
}
#contest-results-image img{
position: absolute;
top:14px;
left:0;
width: 100%;
height: auto;
opacity: .5;
}
#contest-results-text {
text-shadow: 4px 4px 10px grey;
padding: 0% 0% 100% 0%;
margin:0px 5px 0px 5px;
}
#icecream-credits {
float: right;
margin: 0px 4px;
}
/*
x Different font for h1
x style image credits as class
x padding and border on images
x background image on results page
x center body
x center images w/in body
x different color for visited links
x move top image to left and right rail.
x add margin. fix credits (vertical?). fixed position for div?
x change formating for footer
x style contest entry list
x rip all styling out of html, replace in css
Padding and border added to at least one element
Margin added to at least one element
At least one centered element (a footer message can be nice for this)
A background image on at least one element
A different font on at least one element
A few elements styled using a class
A different color for visited links
An element styled with an ID
*/