-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
243 lines (189 loc) · 5.04 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
.blogpost_list {
}
/*------------------------------------------
Responsive Grid Media Queries - 1280, 1024, 768, 480
1280-1024 - desktop (default grid)
1024-768 - tablet landscape
768-480 - tablet
480-less - phone landscape & smaller
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) { }
@media all and (min-width: 768px) and (max-width: 1024px) { }
@media all and (min-width: 480px) and (max-width: 768px) {
}
@media all and (max-width: 480px) {
}
/*------------------------------------------
Foundation Media Queries
http://foundation.zurb.com/docs/media-queries.html
--------------------------------------------*/
/* Small screens - MOBILE */
@media only screen {
.navbar-img {
display: none;
background-: #fff;
}
a.navbar-brand {
background-image: url(./logo.svg);
height: 80px;
width: 80px;
background-repeat: no-repeat;
}
span.navbar-toggler-icon:hover {
background-image: url(./menu-2-hover.svg)!important;
}
span.navbar-toggler-icon {
background-image: url(./menu-2.svg)!important;
}
.portfolio-card,
.portfolio-nav {
margin-top: 30px;
display: inline-block;
width: 100%;
}
.card-disp img {
width: 200px;
height: 100px;
}
.card-disp h4
{
min-height: 150px
}
.portfolio-nav a:nth-of-type(2) {
color: green;
display: block;
}
*{
font-family: 'KongtextRegular';
}
.jumbotron {
padding-bottom: 40vh;
text-align: center;
}
.portfolio-nav,
.card-disp {
text-align: center;
}
h1.display-4 {
display: inline;
font-size: 1.9em;
letter-spacing: -0.6em;
line-height: 2em;
margin-bottom: 3em;
}
.main {
display: flex;
}
h2 {
width: 100%;
}
textarea, input, .main {
text-align: center;
margin-top: 10px; margin-bottom: 10px; border: 6px solid black;
background: #e1e1e1; padding: 5px;
}
h1.display, #id1, #id2, #id3 {
display: inline;
transition: color 1s ease;
}
} /* Define mobile styles - Mobile First */
@media only screen and (max-width: 40em) {
.main {
display: flex;
flex-flow: wrap;
}
h2 {
width: 100%;
flex: 1;
}
textarea, input[type=text], .main {
flex: 1;
width: 100%;
border: 1px solid black;
background: #e1e1e1; padding: 5px;
}
.container {
padding: 0 0 0 0;
}
h1.display, #id1, #id2, #id3 {
display: inline;
transition: color 1s ease;
}
} /* max-width 640px, mobile-only styles, use when QAing mobile issues */
/* Medium screens - TABLET */
@media only screen and (min-width: 40.063em) { } /* min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
h1.display-4 {
display: inline;
transition: color 1s ease-out;
}
.navbar-img {
height: 80px;
background-: #fff;
}
a.navbar-brand {
background-image: url(./logo.svg);
height: 80px;
width: 80px;
background-repeat: no-repeat;
}
} /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */
/* Large screens - DESKTOP */
/* min-width 1025px, large screens */
@media only screen and (min-width: 64.063em) {
.portfolio-card {
width: 108px;
height: 40%;
}
h1.display-4 {
display: inline;
transition: color 1s ease;
}
.navbar-toggler-icon {
background-image: url(./menu-2.svg)!important;
}
.navbar-img {
height: 80px;
background-: #fff;
}
a.navbar-brand {
background-image: url(./logo.svg);
height: 80px;
width: 80px;
background-repeat: no-repeat;
}
}
@media only screen and (min-width: 64.063em) and (max-width: 90em) {
} /* min-width 1024px and max-width 1440px, use when QAing large screen-only issues */
/* XLarge screens */
@media only screen and (min-width: 90.063em) { } /* min-width 1441px, xlarge screens */
@media only screen and (min-width: 90.063em) and (max-width: 120em) { } /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */
/* XXLarge screens */
@media only screen and (min-width: 120.063em) { } /* min-width 1921px, xlarge screens */
/*------------------------------------------*/
/* Portrait */
@media screen and (orientation:portrait) { /* Portrait styles here */ }
/* Landscape */
@media screen and (orientation:landscape) { /* Landscape styles here */ }
/* CSS for iPhone, iPad, and Retina Displays */
/* Non-Retina */
@media screen and (-webkit-max-device-pixel-ratio: 1) {
}
/* Retina */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
}
/* iPhone Portrait */
@media screen and (max-device-width: 480px) and (orientation:portrait) {
}
/* iPhone Landscape */
@media screen and (max-device-width: 480px) and (orientation:landscape) {
}
/* iPad Portrait */
@media screen and (min-device-width: 481px) and (orientation:portrait) {
}
/* iPad Landscape */
@media screen and (min-device-width: 481px) and (orientation:landscape) {
}