forked from karlvr/learn-to-code-basic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson.css
110 lines (94 loc) · 1.59 KB
/
lesson.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
body {
font-family: 'Open Sans', sans-serif;
}
section {
margin: 5em 0 0;
clear: both;
}
section.side-by-side > * {
width: 50%;
}
section.side-by-side article {
padding: 0 2em;
}
article.hero {
margin: 0 auto;
height: 100%;
width: 100%;
text-align: center;
}
article.solo {
width: 60%;
max-width: 30em;
margin: 0 auto;
}
article img {
max-width: 100%;
}
article footer {
margin-top: 2em;
text-align: center;
}
.game.right {
border: 0;
position: sticky;
top: 0;
float: right;
height: 100vh;
overflow: hidden;
display: block;
image-rendering: optimizeSpeed;
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
image-rendering: crisp-edges;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
}
code {
background: #eee;
padding: 0.2em 0.5em;
white-space: nowrap;
}
code.command {
/* background: #00127C; */
/* color: #f3f30f; */
background: #eee;
padding: 0.2em 0.5em;
}
p {
line-height: 1.4;
}
pre {
background: #eee;
padding: 0.5em 0.5em;
}
h1 {
font-size: 180%;
}
aside {
border: 1px solid yellow;
background: lightyellow;
padding: 1em;
width: 60%;
margin: 0 auto;
}
article footer button, article footer .button {
font-size: 120%;
}
article.hero footer button, article.hero footer .button {
font-size: 200%;
}
a.button, a.button:active, a.button:visited {
color: #333;
text-decoration: none;
border: 1px solid #333;
border-radius: 14px;
padding: 0.15em 0.6em;
display: inline-block;
}
a.button:active {
background-color: black;
color: white;
}