-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmobile.css
More file actions
executable file
·85 lines (73 loc) · 1.24 KB
/
mobile.css
File metadata and controls
executable file
·85 lines (73 loc) · 1.24 KB
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
/* Mobile Styles */
@media only screen and (max-width:850px) {
/* Base Layout */
body {
padding: 7.5vw;
flex-flow: column wrap;
}
section {
width: 100%;
min-height: inherit;
}
/* Hero Section */
.hero {
height: 100vh;
justify-content: space-between;
padding: 0;
}
.bio {
margin: 0;
min-width: 80vw;
padding-bottom: 2em;
}
/* Writing Pages */
.writing {
width: 100%;
padding: 0;
max-width: 100vw;
}
.list {
margin-top: 1em;
}
.dt {
bottom: auto;
padding: 0 7.5vw 7.5vw;
-webkit-box-align: start;
align-items: flex-start;
}
/* Footer */
.footer {
display: flex;
position: static;
align-items: flex-start;
flex-direction: column;
justify-content: flex-end;
padding: 0;
}
.footer > a {
position: relative;
padding-top: 0.7em;
border: none;
text-decoration: underline;
}
}
/* Desktop Styles */
@media only screen and (min-width:1080px) {
/* Hero Section */
.bio {
max-width: 1100px;
font-size: 2em;
}
.header {
font-size: 2.5em;
}
/* Writing Pages */
.writing {
max-width: 750px;
}
/* Footer */
.footer {
right: 3em;
bottom: 5em;
}
}