-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresponsive.css
More file actions
39 lines (35 loc) · 838 Bytes
/
responsive.css
File metadata and controls
39 lines (35 loc) · 838 Bytes
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
@media only screen and (max-width: 740px) {
/* h1 { font-size: 4.5em; }
h3 { font-size: 2.2em; } */
h2 { display: block; text-align: center; }
#info { float: none; display: block; text-align: center; }
#photo {
float: none;
display: block;
text-align: center;
}
#w { padding: 20px 15px; }
p { padding: 0; }
}
@media only screen and (max-width: 570px) {
ul li {
display: inline-block;
padding-left: 15px;
width: 140px;
background-position: -5px 0px;
margin-right: 6px;
line-height: 1.7em;
}
#skills-left, skills-right { margin-bottom: 15px; }
}
@media only screen and (max-width: 480px) {
ul li { width: 120px; }
#w { margin: 0 20px; }
}
@media only screen and (max-width: 320px) {
#w { margin: 0 10px; }
}
/** iPhone only **/
@media screen and (max-device-width: 480px) {
ul li { width: 150px; }
}