ggdgsdbsdbbb / static / css / langs.scss
54 lines · 46 sloc · 780 bytes · 9f790cd95a208e0bea762a29a788eaa37f5a4be3
Raw
1.langs {
2 display: grid;
3 grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
4 align-items: center;
5 background: #ffffff;
6}
7
8.lang-stats-header {
9 border: 1px solid #d8dee4;
10 border-radius: 5px;
11 margin: 0 0 18px;
12 overflow: hidden; // rounded corners
13}
14
15.lang-stats-bar {
16 display: flex;
17 height: 5px;
18
19 div {
20 height: 5px;
21 }
22}
23
24.lang-stat {
25 display: flex;
26 align-items: center;
27 justify-content: center;
28 margin: 9px 6px 8px;
29 min-width: 0;
30 white-space: nowrap;
31}
32
33.lang-stat * {
34 margin-right: 3px;
35}
36
37.lang-stat *:last-child {
38 margin-right: 0px;
39}
40
41.lang-stat-dot {
42 width: 10px;
43 height: 10px;
44 border-radius: 10px;
45 display: inline-block;
46 margin-right: 4px;
47 margin-bottom: 1px;
48}
49
50.lang-stat-loc {
51 font-size: 80%;
52 font-style: italic;
53 color: $gray-dark;
54}
55