forked from spring2016webdevfun/thedom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
56 lines (48 loc) · 912 Bytes
/
style.css
File metadata and controls
56 lines (48 loc) · 912 Bytes
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
body {
background-color: #ccc;
}
div {
text-align: center;
margin-left: auto;
margin-right: auto;
width: 90%;
background-color: #cccc99;
}
li {
display: inline-block;
list-style: none;
width: 10%;
border: 1px solid black;
margin-right: 1em;
padding: .25em;
width: 5em;
height: 3.25em;
}
li:hover, .selected {
border: 1px solid blue;
background-color: blue;
}
img {
width: 95%;
margin: 0;
padding: 0;
}
figcaption {
font-style: italic;
font-weight: bold;
font-size: 1.25em;
padding-top: .25em;
}
figure {
text-align: center;
padding: 1em;
border: 2px solid #003366;
background-color: #fff;
border-radius: 1em;
}
.hide {
display: none;
}
.show {
display: block;
}