-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathstyles.css
116 lines (94 loc) · 1.53 KB
/
styles.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
.nav {
position: sticky;
}
#left {
position: sticky;
top: 1em;
max-height: calc(100vh - 2em);
height: 100%;
display: grid;
grid-template-rows: minmax(0, 1fr) 190px;
}
#users {
top: 1em;
overflow-y: auto;
}
.nav {
top: 0px;
background-color: white;
padding: 1em 0;
margin-top: -1em;
z-index: 1;
}
.list-group-item, .nav-link {
cursor: pointer;
}
#users .list-group-item {
display: flex;
justify-content: space-between;
}
.user-lang-annotation {
opacity: 0.4;
}
#keyboard {
margin: 1em 0 0 1em;
}
#keyboard h5 {
font-size: 1.1em;
}
#keyboard .key {
background: #f0f0f0;
padding: .125em .2em;
font-family: monospace;
border-radius: .125em;
border: 1px solid #b0b0b0;
margin: .25em;
line-height: 1;
display: inline-block;
}
/* X-Small devices (e.g. portrait phones) */
@media (max-width: 576px) {
#keyboard {
display: none;
}
#left {
grid-template-rows: unset;
}
#users {
flex-direction: row;
overflow: scroll;
}
.nav {
margin-top: 0;
flex-wrap: nowrap;
overflow: scroll;
}
.user-name {
white-space: nowrap;
}
.user-lang {
display: none;
}
}
/* Medium Devices */
@media (max-width: 768px) {
.user-lang-annotation {
display: none;
}
}
@media (prefers-color-scheme: dark) {
body, .nav, .list-group-item {
background-color: #2d2d2d;
color: white;
border-color: rgba(255, 255, 255, .125);
}
.key {
color: black;
}
.token {
background: none !important;
}
a {
color: white !important;
}
}