-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
175 lines (155 loc) · 2.89 KB
/
index.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
* {
box-sizing: border-box
}
html {
background: url(//css-tricks.com/examples/OnePageResume/images/noise.jpg)
}
body {
margin: 2.2rem
}
div#resume {
min-width: 310px;
font: 16px Helvetica, Avernir, sans-serif;
line-height: 24px;
color: #000
}
div#resume h1 {
margin: 0 0 16px 0;
padding: 0 0 16px 0;
font-size: 42px;
font-weight: bold;
letter-spacing: -2px;
border-bottom: 1px solid #999;
line-height: 50px
}
div#resume h2 {
font-size: 20px;
margin: 0 0 6px 0;
position: relative
}
div#resume h2 span {
position: absolute;
bottom: 0;
right: 0;
font-style: italic;
font-family: Georgia, serif;
font-size: 16px;
color: #999;
font-weight: normal
}
div#resume p {
margin: 0 0 16px 0
}
div#resume a {
color: #999;
text-decoration: none;
border-bottom: 1px dotted #999
}
div#resume a:hover {
border-bottom-style: solid;
color: #000
}
div#resume p.objective {
font-family: Georgia, serif;
font-style: italic;
color: #666
}
div#resume dt {
font-style: italic;
font-weight: bold;
font-size: 18px;
text-align: right;
padding: 0 26px 0 0;
width: 150px;
border-right: 1px solid #999
}
div#resume dl {
display: table-row
}
div#resume dl dt,
div#resume dl dd {
display: table-cell;
padding-bottom: 20px
}
div#resume dl dd {
width: 500px;
padding-left: 26px
}
div#resume img {
width: 100%;
float: right;
padding: 10px;
background: #fff;
margin: 0 30px;
box-shadow: 0 0 4px rgba(0, 0, 0, .3);
width: 30%;
max-width: 220px
}
@media screen and (max-width:1100px) {
div#resume h2 span {
position: static;
display: block;
margin-top: 2px
}
}
@media screen and (max-width:550px) {
body {
margin: 1rem
}
div#resume img {
transform: rotate(0deg)
}
}
@media screen and (max-width:400px) {
div#resume dl dt {
border-right: none;
border-bottom: 1px solid #999
}
div#resume dl,
div#resume dl dd,
div#resume dl dt {
display: block;
padding-left: 0;
margin-left: 0;
padding-bottom: 0;
text-align: left;
width: 100%
}
div#resume dl dd {
margin-top: 6px
}
div#resume h2 {
font-style: normal;
font-weight: 400;
font-size: 18px
}
div#resume dt {
font-size: 20px
}
h1 {
font-size: 36px;
margin-right: 0;
line-height: 0
}
div#resume img {
margin: 0
}
}
@media screen and (max-width:320px) {
body {
margin: 0
}
img {
margin: 0;
margin-bottom: -40px
}
div#resume {
width: 320px;
padding: 12px;
overflow: hidden
}
p,
li {
margin-right: 20px
}
}