-
Notifications
You must be signed in to change notification settings - Fork 30
/
style.css
174 lines (156 loc) · 3.54 KB
/
style.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
body { margin: 0;
padding: 0;
background-color: #fff font-size: 12px;
font-family: 'Source Sans Pro', sans-serif;
-webkit-font-smoothing: subpixel-antialiased;
}
* { box-sizing: border-box;
-moz-box-sizing: border-box;
}
/*
Primary Rules
*/
h1 { font-weight: 300;
margin: 5px 0 0;
font-size: 40px;
color:#ba0018;
padding: 0 10px 10px;
border-radius:2px;
font-family: 'Merriweather', serif;
}
h2 { color: #ba0018;
width: 150px;
font-size: 18px;
padding-left: 20px;
padding-top: 12px;
font-weight:700;
font-family: 'Merriweather', serif;
}
h3 { font-size: 18px;
font-weight: bold;
margin-bottom: 0;
line-height: 28px;
font-family: 'Merriweather', serif;
}
h2, h3 { margin-top: 5px }
a { color: #ba0018;
display: inline-block;
text-decoration: none;
padding:2px 4px;
border-radius:2px;
margin-right:-2px;
}
a:hover {
background-color:#ba0018;
color:#fff;
}
.key:first-child { margin-left: 0 }
.key { margin: 0 10px;
position: relative;
}
.key::before { content: '◆';
position: absolute;
left: -15px;
color: #555;
font-size: 7pt;
}
.key:first-child::before { content: '' }
.section { border-bottom: 1px solid #ddd;
padding: 10px 0 15px;
}
.section:last-child { border: none }
.section-text { width: 80%;
font-size: 18px;
line-height: 24px;
margin: 10px 0 10px;
padding: 0 10px;
}
.subsection { margin: 10px 0 5px }
.desc { font-size: 16px; font-family: 'Source Sans Pro', sans-serif; color:#444;}
.contact-info { font-size: 16px;
text-align: right;
}
.light { color: #aaa;letter-spacing:1px;
font-size: 14px;
line-height:28px;
font-family: 'Source Sans Pro', sans-serif;
text-transform:uppercase;
}
ul{
padding-left:15px;
}
ul.skills{
float:left;
width:30%;
padding-left:0px;
margin: 0 20px 0 0;
}
ul.skills li{
list-style: none;
font-size:16px;
margin-bottom:10px;
}
ul.skills li:last-child{
margin:0;
}
/*
Float Rules
*/
.row:before, .row:after { content: "";
display: table;
}
.row:after { clear: both }
.col { float: left }
.col-right { float: right }
/*
Page Rules
*/
.page { width: 1000px;
min-height: 29.7cm;
margin: 1cm auto;
background: white;
padding: 20px 50px;
}
.subpage { padding: 1cm;
border: 1px red solid;
height: 297mm;
}
@page { size: A4;
margin: 0;
}
@media print {
.page { margin: 0;
border: initial;
border-radius: initial;
width: initial;
min-height: initial;
box-shadow: initial;
background: initial;
page-break-after: always;
}
.page-break{
page-break-before: always;
padding-top:30px;
}
body { font-size: 12pt;}
h1{
font-size: 23pt;
}
h2{
font-size:10pt;
width: 3cm;
padding-left: 10px;
}
h3 { font-size: 10pt; line-height:11pt}
.section-text { font-size: 9pt; line-height: 14pt; }
.light { font-size: 7.5pt; line-height:12pt; color:#ddd; }
.page { width: 21cm }
ul {margin:5px 0 0}
.section { padding: 5px 0 8px }
.section-text { width: 15cm; margin: 5px 0 5px;}
.subsection { margin: 5px 0 0 }
.desc { font-size: 9pt }
.contact-info { font-size: 9pt}
ul.skills{margin: 0 10px 0 0;}
ul.skills li{ font-size: 9pt; margin-bottom:0}
}