forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_content.scss
executable file
·137 lines (117 loc) · 2.09 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
/*
*
* Custom Content Docs ******************************************
*
*/
/** code formatting **/
pre {
background-color: #F5F8FA!important;
display: block;
padding: 20.5px!important;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
color: #333;
word-break: normal !important;
word-wrap: break-word;
border: 0!important;
border-radius: 4px;
}
code {
background-color: #F5F8FA!important;
border-radius: 2px;
color: #0c5176 !important;
font-size: 90%;
padding: 3px 7px;
overflow-x: scroll;
white-space: nowrap;
}
pre code {
overflow-x: auto;
overflow-wrap: normal;
white-space: pre;
}
/*
*
* Guides : components
*
*/
.component-container {
padding: 0;
margin: 0 0 50px;
width: 100%;
}
.component {
padding: 15px 25px 5px 15px;
text-align: center;
margin: 0 8px 15px;
float: left;
height: 250px;
width: 100%;
}
.component-full {
padding: 5px 0 10px 20px;
float: left;
min-height: 100px;
margin: 0px 0 15px 0;
width: 100%;
}
.component,
.component-full {
background: #FBFBFC;
// border: 1px solid rgba(204, 204, 204, 0.21);
}
.component-full-icon {
float: left;
padding: 5px 15px 0 7px;
}
.component-full p {
margin: 0;
}
.component-full h3 {
margin-top: 10px;
}
.component img,
.component-full-icon img {
width: 70px;
height: 70px;
}
.component-icon {
margin: 0 auto;
width: 70px;
}
.component-full-copy {
float: left;
width: 80%;
}
.component h3,
.component p {
margin: 0;
}
a.anchorLink {
margin-left: 5px;
visibility: hidden;
}
.highlighter-rouge {
margin: 15px 0;
}
code {
padding: 3px 7px;
font-size: 90%;
color: #0c5176!important;
background-color: rgba(12, 81, 118, 0.1);
border-radius: 2px;
}
pre {
display: block;
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
line-height: 1.42857143;
color: #333;
word-break: normal!important;
word-wrap: break-word;
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
}