forked from ainsleyc/jsonresume-theme-onepage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
162 lines (142 loc) · 2.12 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
body {
background: #EEEEEE;
font: 13px "Times New Roman", Times, sans-serif;
line-height: 1.4;
margin: 40px 0;
}
em {
color: #999;
}
p {
line-height: 1.4;
}
ul {
margin-bottom: 0;
}
li {
margin-bottom: 2px;
}
a {
text-decoration: none;
}
#resume {
margin: 0 auto;
max-width: 600px;
padding: 80px 100px;
background: #fff;
border: 1px solid #ccc;
box-shadow: 2px 2px 4px #aaa;
-webkit-box-shadow: 2px 2px 4px #aaa;
}
.coursesList {
width: 28%;
vertical-align: top;
display: inline-block;
}
.largeFont {
font-size: 20px;
}
.smallFont {
font-size: 13px;
}
.sectionBlock {
display: flex;
width: 100%;
}
.sectionName {
width: 18%;
vertical-align: top;
display: inline-block;
}
.sectionContent {
width: 80%;
vertical-align: top;
display: inline-block;
}
.sectionContent ul {
padding-left: 20px;
margin-top: 6px;
list-style-type: circle;
}
.sectionContent .title {
font-weight: bold;
}
.sectionContent .date {
float: right;
}
.sectionContent .separator {
height: 14px;
}
.sectionLine {
border-style: dashed;
border-width: 1px;
border-color: #CFCFCF;
margin-top: 10px;
margin-bottom: 10px;
}
.divider {
font-weight: bold;
margin-left: 5px;
margin-right: 5px;
}
.summary {
margin-top: 6px;
}
.skillBlock {
margin-bottom: 4px;
}
.jobBlock {
page-break-inside: avoid;
}
/* Media Queries */
@media only screen and (max-width: 40em) {
body {
margin: 0;
font-size: 14px;
}
#resume {
margin: 0 auto;
max-width: 600px;
padding: 0.5em 1em;
border: none;
}
.sectionBlock {
flex-direction: column;
}
.sectionContent {
width: 100%;
}
.sectionContent .date {
padding-right: 2em;
}
.sectionName {
width: auto;
}
.largeFont {
font-size: 20px;
}
.smallFont {
font-size: 14px;
}
}
@media print {
body {
background: #FFFFFF;
}
#resume {
margin: 0 auto;
max-width: 600px;
padding: 0px 0px;
border: 0px;
background: #fff;
box-shadow: none;
-webkit-box-shadow: none;
}
a {
color: black;
}
.sectionBlock,
.sectionContent {
break-inside: avoid;
}
}