-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathshared.css
132 lines (110 loc) · 1.86 KB
/
shared.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
@font-face {
font-family: 'Windsor Regular';
src: url('Windsor Regular.ttf');
}
#title {
font-family: 'Windsor Regular';
}
#title > div {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: inline-block;
}
.loom, .video, img, p, ul {
margin-top: 10px;
margin-bottom: 10px;
}
.loom {
width:70%;
height: 40vw;
max-height: 400px;
max-width: 800px;
}
.vimeo {
height: 22vw;
width: 50vw;
margin-left: -7.5vw;
}
.video {
width: 70%;
height: 30vw;
max-height: 400px;
max-width: 800px;
}
#the {
background: linear-gradient(to right, red, red, orange);
}
#wholecode {
background: linear-gradient(to right, red, orange, green);
}
#catalog {
background: linear-gradient(to right, red, orange, green);
}
/* Tufte CSS */
article {
background: #fffff8;
}
section {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
p {
padding-right: 0;
vertical-align: baseline;
line-height: 1.6em;
}
section > ul,
section > p,
section > footer,
section > table {
width: 80%;
max-width: 900px;
}
img {
width: 80%;
max-width: 700px;
}
a:link,
a:visited {
color: inherit;
}
body {
width: 87.5%;
margin-left: auto;
margin-right: auto;
padding-left: 5%;
font-family: 'Noto Serif JP', serif;
background-color: #fffff8;
color: #111;
max-width: 1400px;
counter-reset: sidenote-counter;
}
@media (max-width: 760px) {
article {
background: #fffff8;
padding: 2rem 0rem;
}
body {
width: 82%;
padding-left: 8%;
padding-right: 8%;
}
hr,
reviewsAndTags,
section > p,
section > footer,
section > table {
width: 100%;
}
img {
width: 100%;
}
.video {
width: 100%;
height: 219px;
}
.loom {
width: 100%;
height: 236px;
}
}