forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
131 lines (119 loc) · 3.5 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
html {
font-size: 18px;
}
body {
margin: 0;
padding: 0;
font-family: 'rm_pro';
background-color: #ededed;
text-align: left;
text-rendering:optimizeLegibility;
-webkit-font-feature-settings: "liga" 1;
-moz-font-feature-settings: "liga" 1;
-ms-font-feature-settings: "liga" 1;
font-feature-settings: "liga" 1;
}
.container { display: flex; }
.cover {
width: 100%;
height: 77vh;
padding: 1rem;
text-align: center;
background-color: #d0d0d0;
background: url('src/img/cover_1500x1000.jpg') center center no-repeat;
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 50%;
color: white;
margin-bottom: 0!important;
}
.brick {
width: 100%;
padding: 6vh;
color: #575756;
background-color: white;
}
p {
max-width: 50vmax;
min-width: 288px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.0rem; }
/*Links — color: #009fe3; */
a {
text-decoration: none;
color: #575756;
background: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#009fe3, #009fe3);
background-size: .05em 1px, .05em 1px, 1px 1px;
background-repeat: no-repeat, no-repeat, repeat-x;
text-shadow: .03em 0 #fff, -.03em 0 #fff, 0 .03em #fff, 0 -.03em #fff, .06em 0 #fff, -.06em 0 #fff, .09em 0 #fff, -.09em 0 #fff, .12em 0 #fff, -.12em 0 #fff, .15em 0 #fff, -.15em 0 #fff;
background-position: 0 95%, 100% 95%, 0 92%;
-webkit-transition:color 0.2s ease-in-out;
-moz-transition:color 0.2s ease-in-out;
-o-transition:color 0.2s ease-in-out;
transition:color 0.2s ease-in-out;
}
a::-moz-selection { text-shadow: none; }
a::selection { text-shadow: none; }
a::-moz-selection { text-shadow: none; }
a::selection {
text-shadow: none;
}
a:hover {
color: #009fe3;
background: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff), linear-gradient(#009fe3, #009fe3);
background-size: .05em 1px, .05em 1px, 1px 1px;
background-repeat: no-repeat, no-repeat, repeat-x;
text-shadow: .03em 0 #fff, -.03em 0 #fff, 0 .03em #fff, 0 -.03em #fff, .06em 0 #fff, -.06em 0 #fff, .09em 0 #fff, -.09em 0 #fff, .12em 0 #fff, -.12em 0 #fff, .15em 0 #fff, -.15em 0 #fff;
background-position: 0 95%, 100% 95%, 0 92%;
-webkit-transition:background 0.2s ease;
-moz-transition:background 0.2s ease;
-o-transition:background 0.2s ease;
transition:background 0.2s ease;
}
/* Cover & brick*/
.cover, .brick {
display: flex;
align-items: center;
justify-content: center;
margin: 1.6666666vmax;
}
/* Font */
@font-face {
font-family: 'rm_pro';
src: url('src/font/rmpro-light-webfont.eot');
src: url('src/font/rmpro-light-webfont.eot?#iefix') format('embedded-opentype'),
url('src/font/rmpro-light-webfont.woff2') format('woff2'),
url('src/font/rmpro-light-webfont.woff') format('woff'),
url('src/font/rmpro-light-webfont.ttf') format('truetype'),
url('src/font/rmpro-light-webfont.svg#rm_proregular') format('svg');
font-weight: 200;
font-style: normal;
}
/* Responsive typography tweaks */
body { }
@media (min-width: 600px) {
body {
font-size: 1.125em; }
body p {
font-size: 16px; } }
@media (min-width: 800px) {
body {
font-size: 1.188em; }
body p {
font-size: 18px; } }
@media (min-width: 1030px) {
body {
font-size: 1.250em; }
body p {
font-size: 20px; } }
@media (min-width: 1250px) {
body {
font-size: 1.313em; }
body p {
font-size: 22px; } }
/* END */