-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
129 lines (109 loc) · 2.08 KB
/
main.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
a, p, li, td, h1, h2, h3, h4, h5, h6 {
font-family:Arial, Helvetica, sans-serif;
font-size:20px
}
a, p, li, td {
font-size:16px
}
h1 {
font-size: 36px;
}
h2 {
font-size: 24px;
}
h3 {
font-size: 16px;
}
h3 {
font-weight:bold
}
h2, h4, h5, h6 {
font-weight:normal
}
.container {
display: flex;
flex-flow: row wrap;
justify-content: space-around;
align-items: flex-start;
}
.photo {
flex: 1 0px;
width: 100%;
height: auto;
padding-top:20px;
padding-right:50px;
}
.about {
vertical align: top;
height: auto;
padding-left: 100px;
padding-top:50px;
padding-right:20px;
flex:1 0px;
}
.section {
padding-left:20px;
padding-right:20px;
padding-bottom:20px;
border-bottom:2px solid
}
/* Large */
.navigation {
display: flex;
flex-flow: row wrap;
/* This aligns items to the end line on main-axis */
justify-content: flex-end;
}
/* Medium screens */
@media all and (max-width: 800px) {
.navigation {
/* When on medium sized screens, we center it by evenly distributing empty space around items */
justify-content: space-around;
}
}
/* Small screens */
@media all and (max-width: 500px) {
.navigation {
/* On small screens, we are no longer using row direction but column */
flex-direction: column;
}
.about {flex:1 auto;}
.photo {flex: 1 auto;}
}
.navigation {
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
list-style: none;
margin: 0;
background: #666666;
}
.navigation a {
text-decoration: none;
display: block;
padding: 1em;
color: white;
}
.navigation a:hover {
background: #333333;
}
@media all and (max-width: 800px) {
.navigation {
justify-content: space-around;
}
}
@media all and (max-width: 600px) {
.navigation {
flex-flow: column wrap;
padding: 0;
}
.navigation a {
text-align: center;
padding: 0px;
border-top: 1px solid rgba(255, 0, 255,0.3);
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.navigation li:last-of-type a {
border-bottom: none;
}
}