-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
executable file
·176 lines (175 loc) · 2.83 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
175
176
*{
box-sizing: border-box;
}
html{
--hue: 208;
--theme-color: #b64f44;
--system-font: system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 62.5%;
}
body{
margin: 0;
font-size: 1.6rem;
font-family: var(--system-font);
line-height: 1.6;
background: #333;
}
h1,h2,h3,h4,h5,h6,p{
margin: 1rem 0;
}
h5{
font-weight: 300;
}
a{
text-decoration: none;
color: inherit;
}
.resume{
display: block;
grid-template-columns: 70% 30%;
margin: 5rem auto;
width: 95%;
max-width: 1100px;
background: #fff;
overflow: hidden;
}
@media screen and (min-width: 830px) {
.resume{
display: grid;
}
}
main{
padding: 4rem;
}
main > h2{
font-size: 1.4rem;
}
main h5{
color: #555;
}
main section{
margin-top: 4rem;
}
.experience:not(:first-of-type){
position: relative;
margin-top: 3.5rem;
}
.experience:not(:first-of-type)::before{
content: '';
position: absolute;
top: -2rem;
left: calc(50% - 10rem);
width: 20rem;
height: 0;
border-bottom: solid 2px #eaeaea;
}
.experience h3, .experience h4, .experience h5, .experience p{
margin: 0 0 .4rem;
}
.experience h3{
color: var(--theme-color);
}
aside{
position: relative;
padding: 4rem 3rem;
background: #ebebeb;
font-size: 1.2rem;
overflow: hidden;
}
aside nav{
position: relative;
display: flex;
justify-content: flex-end;
gap: 1rem;
z-index: 10;
}
.tools{
margin: .4rem 0 1rem;
font-size: 1.2rem;
color: #888;
}
.tools li, .tools ul{
display: inline;
font-weight: 300;
}
@media screen and (min-width: 830px){
aside{
padding: 2rem 3rem;
}
}
aside h5{
margin: 1.2rem 0 -.8rem;
font-size: 1.2rem;
}
aside section{
margin-top: 4rem;
}
@media screen and (min-width: 830px){
aside section{
margin-top: 10rem;
}
}
h1{
color: var(--theme-color);
}
.circle{
position: absolute;
top: -14rem;
right: -8rem;
width: 25rem;
height: 25rem;
border-radius: 50%;
background: var(--theme-color);
}
ul{
list-style-type: none;
margin: 0;
padding: 0;
}
section ul li:not(:last-child) {
margin-bottom: .5rem;
}
.tools ul li:not(:last-child)::after{
content: ',';
}
#email::after{
content: attr(data-name) "@" attr(data-provider)
}
@media print{
*{
background: transparent !important;
box-shadow: none !important;
text-shadow: none !important;
}
@page{
margin: 0mm;
size: auto;
}
html{
font-size: 40%;
}
p, h2, h3{
orphans: 3;
widows: 3;
}
h2,h3{ page-break-after: avoid; }
aside{
padding: 2rem 3rem;
background: none !important;
}
aside section{
margin-top: 10rem;
}
aside nav{
display: none;
}
.resume{
display: grid;
width: 100%;
max-width: 100%;
margin: 0;
}
.circle{
background: var(--theme-color) !important;
}
}