-
Notifications
You must be signed in to change notification settings - Fork 0
/
queries.css
127 lines (94 loc) · 1.7 KB
/
queries.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
@media only screen and (max-width: 1200px) {
.header-text-box {
width: 100%;
padding: 0 2%;
}
.row { padding: 0 2%; }
.portfolio-body {
padding: 40px;
max-width: 90%;
}
}
@media only screen and (max-width: 1023px) {
body { font-size: 18px; }
section { padding: 60px 0; }
.long-copy {
width: 80%;
margin-left: 10%;
}
.section-portfolio .span-1-of-3 {
width: 100%;
}
.portfolio-flex {
flex-direction: column;
}
.portfolio-body {
padding: 20px;
}
.portfolio-col {
margin: 1em 0 0 0;
}
img.screenshot {
max-width: 80%;
}
.contact-form { width: 80%; }
}
@media only screen and (max-width: 767px) {
body { font-size: 16px; }
section { padding: 30px 0; }
.subtitle {
font-size: 150%;
}
.hero-image {
display: none;
}
.main-nav { display: none; }
img#resume-logo,
img#github-logo,
img#linkedin-logo {
width: 60%;
}
.contact-form { width: 80%; }
.footer-buttons { display: none; }
}
@media only screen and (max-width: 480px) {
section { padding: 25px 0; }
.contact-form { width: 100%; }
img#resume-logo,
img#github-logo,
img#linkedin-logo {
width: 20%;
}
input {
margin-bottom: .5em;
}
}
@media only screen and (max-height: 670px) {
.hero-image {
display: none;
}
}
@media only screen and (max-height: 400px) {
h1, .subtitle {
margin-bottom: 10px;
}
.avatar {
height: 160px;
}
}
@media only screen and (max-height: 300px) {
h1, .subtitle {
margin-bottom: 15px;
}
.avatar {
height: 120px;
}
}
@media only screen and (max-height: 260px) {
h1, .subtitle {
margin-bottom: 15px;
}
.avatar {
display: none;
}
}