-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsite.css
More file actions
67 lines (64 loc) · 1.06 KB
/
site.css
File metadata and controls
67 lines (64 loc) · 1.06 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
html, body {
background-color: #AAA;
color: #333;
margin: 0px;
padding: 0px;
font-family: sans-serif;
font-size: 1em;
}
a {
color: #CCC;
text-decoration: none;
}
a:hover {
text-shadow: 4px 4px 4px #333;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
header {
display: flex;
flex-wrap: wrap;
flex-direction: column;
/* justify-content: center; */
align-content: space-around;
width: 100%;
}
section {
display: flex;
flex-wrap: wrap;
flex-direction: row;
justify-content:center;/*flex-start; space-around;*/
align-items: center;
border-left: solid 10px #333;
background-color: #FFF;
margin: 5%;
}
section > span, section > image {
width: 40%;
margin: 10px;
}
figure {
position: relative;
}
figure > img {
width: 256px;
height: 256px;
}
figure > figcaption:first-of-type {
position: absolute;
top: 5%;
left: 5%;
margin: 0;
font-style: bold;
font-size: 20px;
}
figure > figcaption:last-of-type {
position: absolute;
bottom: 5%;
left: 5%;
margin: 0;
}