forked from lipis/flag-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.css
153 lines (153 loc) · 2.51 KB
/
docs.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
body {
font-weight: 300;
-webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 300;
}
.flag-wrapper {
width: 100%;
display: inline-block;
position: relative;
box-shadow: 0 0 2px black;
overflow: hidden;
margin-bottom: 20px;
}
.flag-wrapper:after {
padding-top: 75%;
/* ratio */
display: block;
content: '';
}
.flag-wrapper .flag {
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
}
.no-wrap {
white-space: nowrap;
margin-bottom: 8px;
overflow: hidden;
}
.all-flags .flag-icon-background {
cursor: pointer;
}
.jumbotron {
position: relative;
font-size: 16px;
color: #fff;
color: rgba(255, 255, 255, 0.75);
text-align: center;
border-radius: 0;
padding-bottom: 80px;
background: linear-gradient(to right, #0d6632, #f4c01a);
}
.jumbotron h1 {
margin-bottom: 15px;
font-weight: 300;
letter-spacing: -1px;
color: #fff;
}
.jumbotron iframe {
width: 100px!important;
height: 20px!important;
border: none;
overflow: hidden;
margin: 2px;
}
.jumbotron p a,
.jumbotron .jumbotron-links a {
font-weight: 500;
color: #fff;
}
.jumbotron .jumbotron-links {
margin-top: 15px;
margin-bottom: 0;
padding-left: 0;
list-style: none;
font-size: 14px;
}
.jumbotron .jumbotron-links li {
display: inline;
}
.jumbotron .jumbotron-links li + li {
margin-left: 20px;
}
.jumbotron .bottom {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 18px;
background-color: rgba(0, 0, 0, 0.2);
}
.btn-outline {
margin-top: 15px;
margin-bottom: 15px;
padding: 18px 24px;
font-size: inherit;
font-weight: 500;
color: #fff;
/* redeclare to override the `.jumbotron a` */
background-color: transparent;
border-color: #fff;
border-color: rgba(255, 255, 255, 0.5);
transition: all 0.1s ease-in-out;
}
.btn-outline:hover,
.btn-outline:active {
color: #0d6632;
background-color: #fff;
border-color: #fff;
}
.how-to {
padding: 20px;
}
.how-to h2 {
text-align: center;
}
.how-to li {
font-size: 21px;
line-height: 1.7;
margin-top: 20px;
}
.how-to li p {
font-size: 16px;
color: #555;
}
.how-to code {
font-size: 85%;
word-wrap: break-word;
white-space: normal;
}
footer {
text-align: center;
opacity: .8;
padding: 50px;
background: linear-gradient(to right, #f4c01a, #0d6632);
}
footer a {
color: #fff;
}
footer a:hover {
color: #fff;
}
.links {
margin: 0;
list-style: none;
padding-left: 0;
}
.links li {
display: inline;
padding: 0 10px;
}