-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtutorial.css
119 lines (104 loc) · 2.11 KB
/
tutorial.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
---
---
.hidden {
display: none;
}
.success {
background-color: {{ site.data.colors.works }};
}
.regex {
background-color: {{ site.data.colors.regular-expression-text-backgound-color }};
padding-right: 0.3em;
padding-left: 0.3em;
padding-bottom: 0.1em;
padding-top: 0.1em;
border-radius: 0.1em;
border-width: 1px;
border-color: {{ site.data.colors.regular-expression-text-border-color }};
border-style: solid;
}
.key {
background-color: {{ site.data.colors.regular-expression-text-backgound-color }};
display: inline-block;
padding: 3px 5px;
font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #444d56;
vertical-align: middle;
border: solid 1px #c6cbd1;
border-color: {{ site.data.colors.regular-expression-text-border-color }};
border-radius: 3px;
box-shadow: inset 0 -1px 0 #959da5;
}
p {
line-height: 140%;
}
header {
background-color: {{ site.data.colors.header-color }};
right: 0px;
left: 0px;
top: 0px;
width: 100%;
border: 0px;
}
header h2 {
padding-right: 1em;
padding-left: 1em;
margin-top: 0.3em;
margin-bottom: 0.5em;
text-align: center;
}
body {
display: flex;
min-height: 100vh;
flex-direction: column;
margin: 0px;
background-color: {{ site.data.colors.default-background-color }};
}
.main {
padding-right: 1em;
padding-left: 1em;
flex: 1;
}
@media (min-width: 40em) {
.main {
max-width: 40em;
margin-left: calc(50% - 20em);
}
}
footer {
padding: 1em;
margin-top: 1em;
background-color: {{ site.data.colors.header-color }};
text-align: center;
}
footer img {
vertical-align: middle;
}
footer .links {
padding-bottom: 0.5em;
}
footer .links a {
margin-left: 1em;
margin-right: 1em;
white-space: nowrap;
}
footer a {
color: black;
}
.next-page {
text-align: center;
display: block;
margin: 1em;
padding: 1em;
background-color: {{ site.data.colors.next-page-color }};
border-radius: 1em;
text-decoration: none;
color: black;
}
.requirements-satisfied .next-page {
background-color: {{ site.data.colors.works }};
}
img {
max-width: 100%;
}