-
Notifications
You must be signed in to change notification settings - Fork 122
/
Copy pathstyles.css
104 lines (77 loc) · 1.16 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
h1, h2, h3, p, ol, ul {
margin: 0;
padding: 0;
}
* { box-sizing:border-box; }
img { max-width:100%; }
/************* End CSS RESETS **************/
body {
background:url(images/paper.png);
color: #424242;
font-family: 'Source Sans Pro', sans-serif;
padding: 30px 0;
}
#page {
max-width: 980px;
margin: auto;
}
header {
border-bottom: 3px solid #424242;
padding-bottom: 20px;
}
header, footer {
margin: 0 10px;
}
section {
padding:20px 0;
}
footer {
border-top: 3px solid #424242;
padding-top: 20px;
}
#about {
padding: 10px;
}
#projects {
padding: 10px;
}
.alignleft {
float: left;
margin: 0 10px 5px 0;
}
/************ typography *************/
h1, h2, h3 {
font-family: 'Bitter', serif;
margin-bottom:.5em;
}
h1 {
font-size:150%;
text-transform:uppercase;
}
header h1 {
font-size:300%;
margin-bottom:.1em;
}
p {
line-height:1.5em;
margin-bottom:1em;
}
ul, ol {
margin-bottom:1em;
padding-left:1.2em;
}
li {
margin-bottom:.5em;
}
a {
text-decoration:none;
color:#045685;
}
a:hover {
text-decoration:underline;
}
@media only screen and (min-width: 600px) {
main { display: flex;}
#about { flex: 2; }
#projects { flex: 1; }
}