forked from darkreader/darkreader
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyle.less
More file actions
96 lines (81 loc) · 1.53 KB
/
Copy pathstyle.less
File metadata and controls
96 lines (81 loc) · 1.53 KB
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
@import "../theme";
@import "../shared";
@import "./tab-panel/tab-panel";
@import "./about/about";
@import "./advanced/advanced";
@import "./automation/automation";
@import "./hotkeys/hotkeys";
@import "./site-list/site-list";
html {
margin: 0;
padding: 0;
}
#logo {
display: inline-block;
font-size: @size-text-large;
height: @size-control-inner;
width: 15rem;
}
#title {
align-items: stretch;
display: inline-flex;
flex-direction: row;
font-size: @size-control-inner * 4 / 3;
font-weight: 100;
line-height: @size-control-inner;
height: @size-control-inner;
margin: 0 0 0 @indent-small;
text-transform: uppercase;
transform: translateY(-0.0625rem);
}
body {
box-sizing: content-box;
display: flex;
flex-direction: column;
gap: @indent-small;
margin: 0;
padding: 1rem;
}
main {
flex: none;
}
.settings-tab-panel {
flex: auto;
}
.settings-tab {
max-width: 16rem;
}
.settings-tab > :not(:first-child) {
margin-top: @indent-small;
}
.settings-icon-list {
svg {
fill: currentColor;
height: 75%;
width: 75%;
}
}
@media screen and (max-width: 30rem) {
#title {
display: none;
}
body {
margin: 0 auto;
width: 15rem;
}
}
@media screen and (min-width: 21.25rem) {
.mobile {
font-size: 20px;
}
}
@media screen and (min-width: 25.5rem) {
.mobile {
font-size: 24px;
}
}
@media screen and (min-width: 29.75rem) {
.mobile {
font-size: 28px;
}
}