-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
110 lines (110 loc) · 1.5 KB
/
styles.css
File metadata and controls
110 lines (110 loc) · 1.5 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
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
html {
box-sizing: border-box;
-ms-overflow-style: scrollbar;
}
*,
*::before,
*::after {
box-sizing: inherit;
}
:focus {
outline: solid #ff5722;
outline-offset: .25em;
}
html, body {
height: 100%;
margin: 0;
padding: 0;
}
body {
font-family: Helvetica, sans-serif;
line-height: 1.15;
color: #333;
font-weight: 500;
display: flex;
flex-direction: column;
}
h1 {
font-size: 3em;
font-weight: 300;
margin: 2rem;
color: #aaa;
}
a {
color: #0C7ACA;
}
.sr-only {
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.icon {
display: inline-block;
height: 1em;
width: 1em;
}
a .icon {
fill: #0C7ACA;
}
.container {
margin: 0 auto;
max-width: 1250px;
position: relative;
}
#content {
margin: 2em;
}
#portrait {
max-width: 100%;
height: auto;
margin-bottom: -5px;
}
header,footer {
background-color: #050505;
}
footer {
color: #999;
flex-grow: 1;
font-size: .8em;
}
footer > .container {
padding: 1rem 2rem;
}
@media (min-width: 900px) {
h1 {
font-size: 5em;
margin: 2rem 4rem;
}
main > .container {
background: url('portrait.webp') no-repeat top 2em left 22em;
height: 820px;
}
#portrait {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
#content {
position: absolute;
margin: 2em 4em;
padding: 0;
}
footer > .container {
padding: 1rem 4rem;
}
}
@media print {
#portrait {
width: 200px;
height: auto;
}
}