-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.css
95 lines (81 loc) · 1.67 KB
/
index.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
* {
box-sizing: border-box;
}
html, body {
height: 100%;
min-height: 100%;
}
body {
display: flex;
flex-direction: column;
height: 100vh; /* Avoid the IE 10-11 `min-height` bug. */
margin: 0;
font-family: Helvetica, Arial, sans-serif;
background-color: #F6F7F7;
overflow-wrap: break-word; /* force long words to break */
}
#left {
grid-area: left;
}
#right {
grid-area: right;
}
#content {
flex: 1 0 auto; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
display: grid;
min-height: 0;
min-width: 0;
overflow: hidden;
grid-template-columns: repeat(1, minmax(0px, 1fr));
grid-template-areas:
"left"
"right";
}
@media only screen and (min-width: 820px) {
#content {
grid-column-gap: 30px;
grid-template-columns: repeat(2, 1fr);
grid-template-areas:
"left right";
padding-left: 60px;
padding-right: 60px;
}
#language {
padding-left: 60px;
}
}
#language {
margin-top: 35px;
}
#left-description {
color: #d86f5a;
font-style: italic;
font-size: 1.1em;
font-weight: normal;
}
#documentation {
border: 1px solid #ccc;
border-radius: 5px;
background-color: white;
}
#doc-title {
color: #ce371a;
}
#doc-link {
color: #d86f5a;
font-style: italic;
}
#codeblock {
white-space: normal;
}
#code {
border: 2px solid #f55e41;
border-radius: 4px;
white-space: pre-wrap; /* force long lines to break */
}
footer {
flex-shrink: 0; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
padding: 20px;
background-color: #efefef;
text-align: center;
}