-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdd_cv.css
178 lines (152 loc) · 4.94 KB
/
dd_cv.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
175
176
177
178
@font-face {
font-family: 'Cabin';
font-style: normal;
font-weight: 400;
src: url('fonts/cabin-v26-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
url('fonts/cabin-v26-latin-regular.eot') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/cabin-v26-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/cabin-v26-latin-regular.woff') format('woff'), /* Modern Browsers */
url('fonts/cabin-v26-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/cabin-v26-latin-regular.svg') format('svg'); /* Legacy iOS */
}
/* cabin-600 - latin */
@font-face {
font-family: 'Cabin';
font-style: normal;
font-weight: 600;
src: url('fonts/cabin-v26-latin-600.eot'); /* IE9 Compat Modes */
src: local(''),
url('fonts/cabin-v26-latin-600.eot') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/cabin-v26-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/cabin-v26-latin-600.woff') format('woff'), /* Modern Browsers */
url('fonts/cabin-v26-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/cabin-v26-latin-600.svg') format('svg'); /* Legacy iOS */
}
/* cabin-italic - latin */
@font-face {
font-family: 'Cabin';
font-style: italic;
font-weight: 400;
src: url('fonts/cabin-v26-latin-italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('fonts/cabin-v26-latin-italic.eot') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/cabin-v26-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/cabin-v26-latin-italic.woff') format('woff'), /* Modern Browsers */
url('fonts/cabin-v26-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/cabin-v26-latin-italic.svg') format('svg'); /* Legacy iOS */
}
/* cabin-600italic - latin */
@font-face {
font-family: 'Cabin';
font-style: italic;
font-weight: 600;
src: url('fonts/cabin-v26-latin-600italic.eot'); /* IE9 Compat Modes */
src: local(''),
url('fonts/cabin-v26-latin-600italic.eot') format('embedded-opentype'), /* IE6-IE8 */
url('fonts/cabin-v26-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */
url('fonts/cabin-v26-latin-600italic.woff') format('woff'), /* Modern Browsers */
url('fonts/cabin-v26-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */
url('fonts/cabin-v26-latin-600italic.svg') format('svg'); /* Legacy iOS */
}
/* Main text is monserrat*/
body {
font-family: "cabin", sans-serif;
font-weight: 300;
line-height: 1.3;
color: #444;
}
/* Give headers playfair font */
h1,
h2,
h3 {
font-family: "cabin", serif;
color: #000;
}
/* When in PDF export mode make sure superscripts are nice and small and italic */
sup {
font-size: 0.45rem;
font-style: italic;
}
/* Avoid the breaking within a section */
.blocks {
break-inside: avoid;
}
* {
/* Override default right margin for sidebar*/
--pagedjs-margin-right: 0.2in;
--pagedjs-margin-left: 0.2in;
}
/* Customize some of the sizing variables */
:root {
--sidebar-width: 12rem; /* Shrink sidebar width */
--sidebar-background-color: #f7fbff; /* Make sidebar blue */
--sidebar-horizontal-padding: 0.01in; /* Reduce sidebar padding */
--decorator-outer-dim: 10px; /* Make position deliniating circles larger */
--decorator-border: 2px solid #bdd7e7; /* Make timeline a blue as well*/
}
.details .place {
margin-top: 0.25rem;
}
.main-block:not(.concise) .details div {
padding-top: 0.005rem;
}
/* Laptop icon isn't centered by default which is lame */
.fa-laptop {
margin-left: -3px;
}
/* When we have links at bottom in a list make sure they actually are numbered */
#links li {
list-style-type: decimal;
}
/* Dont put the little fake list point in front of links */
.aside li::before {
display: none;
}
/* Move closer to start and up towards header */
.aside ul {
padding-left: 1rem;
}
.aside li::before {
position: relative;
margin-left: -4.25pt;
content: "• ";
}
/* Make sure elements in asside are centered and have a nice small text */
.aside {
width: calc(var(--sidebar-width) + 9px);
line-height: 1.2;
font-size: 0.75rem;
}
/* Make little circle outline be a light blue */
.decorator::after {
background-color: #08306b;
}
/* Remove the fake bullets from lists */
.aside li::before {
content: auto;
}
.skill-bar {
color: white;
padding: 0.1rem 0.25rem;
margin-top: 3px;
position: relative;
width: 100%;
}
/* When the class no-timeline is added we remove the after psuedo element from the header... */
/* Removes the psuedo element on h2 tags for this section */
.section.no-timeline h2::after {
content: none;
}
/* Without adding padding the content is all up on the title */
.section.no-timeline h2 {
padding-bottom: 1rem;
}
/* Add styles for little cards */
.info-card{
width: 220px;
float: left;
padding: 0.5rem;
margin: 0.5rem;
box-shadow: 1px 1px 4px black;
}