forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_content.scss
executable file
·123 lines (106 loc) · 1.81 KB
/
_content.scss
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
.content, p {
line-height: 24px;
clear: both;
img {
display: block;
height: auto;
max-width: 100%;
}
}
.content {
ul {
margin-top: 10px;
}
}
/*
* Code formatting *************************************************************
*/
pre, code {
background-color: #f5f8fa!important;
color: #0c5176 !important;
}
pre {
border: 0;
border-radius: 4px;
display: block;
padding: 20.5px!important;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
word-break: normal !important;
word-wrap: break-word;
code {
overflow-x: auto;
overflow-wrap: normal;
white-space: pre;
}
}
code {
border-radius: 2px;
font-size: 90%;
padding: 3px 7px;
overflow-x: scroll;
white-space: nowrap;
}
.highlighter-rouge {
margin: 15px 0;
}
/*
* Guides : components *********************************************************
*/
.component-container {
padding: 0;
margin: 0 0 50px;
width: 100%;
.row {
display: flex;
flex-wrap: wrap;
}
// "get-docker" tiles
.row > .block {
display: flex;
flex-direction: column;
padding: 10px;
}
.component {
padding: 15px 25px 15px 15px;
text-align: center;
height: 100%;
width: 100%;
background: $bg-component;
img {
height: 70px;
}
.component-icon {
display: flex;
justify-content: center;
}
h2 {
font-size: 18px;
}
h2, h3, p {
margin: 0;
}
}
}
a.anchorLink {
font-size: 0.5em;
margin-left: 5px;
visibility: hidden;
}
h1:hover > a.anchorLink,
h2:hover > a.anchorLink,
h3:hover > a.anchorLink
{
visibility: visible;
}
a.glossary {
color: $body-text;
outline: none;
&:hover {
opacity: 1;
}
}
a.accept-eula {
font-weight: bold;
}