Skip to content

Commit b929041

Browse files
authored
Adding /src folder
1 parent a270361 commit b929041

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+4417
-0
lines changed

src/css/base.css

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
*,
2+
*::before,
3+
*::after {
4+
box-sizing: inherit;
5+
}
6+
7+
html {
8+
box-sizing: border-box;
9+
font-size: var(--body-font-size);
10+
height: 100%;
11+
scroll-behavior: smooth;
12+
}
13+
14+
@media screen and (min-width: 1024px) {
15+
html {
16+
font-size: var(--body-font-size--desktop);
17+
}
18+
}
19+
20+
body {
21+
background: var(--body-background);
22+
color: var(--body-font-color);
23+
font-family: var(--body-font-family);
24+
line-height: var(--body-line-height);
25+
margin: 0;
26+
tab-size: 4;
27+
word-wrap: anywhere; /* aka overflow-wrap; used when hyphens are disabled or aren't sufficient */
28+
}
29+
30+
a {
31+
text-decoration: none;
32+
}
33+
34+
a:hover {
35+
text-decoration: underline;
36+
}
37+
38+
a:active {
39+
background-color: none;
40+
}
41+
42+
code,
43+
kbd,
44+
pre {
45+
font-family: var(--monospace-font-family);
46+
}
47+
48+
b,
49+
dt,
50+
strong,
51+
th {
52+
font-weight: var(--body-font-weight-bold);
53+
}
54+
55+
sub,
56+
sup {
57+
font-size: 75%;
58+
line-height: 0;
59+
position: relative;
60+
vertical-align: baseline;
61+
}
62+
63+
sub {
64+
bottom: -0.25em;
65+
}
66+
67+
sup {
68+
top: -0.5em;
69+
}
70+
71+
em em { /* stylelint-disable-line */
72+
font-style: normal;
73+
}
74+
75+
strong strong { /* stylelint-disable-line */
76+
font-weight: normal;
77+
}
78+
79+
button {
80+
cursor: pointer;
81+
font-family: inherit;
82+
font-size: 1em;
83+
line-height: var(--body-line-height);
84+
margin: 0;
85+
}
86+
87+
button::-moz-focus-inner {
88+
border: none;
89+
padding: 0;
90+
}
91+
92+
summary {
93+
cursor: pointer;
94+
-webkit-tap-highlight-color: transparent;
95+
outline: none;
96+
}
97+
98+
table {
99+
border-collapse: collapse;
100+
word-wrap: normal; /* table widths aren't computed as expected when word-wrap is enabled */
101+
}
102+
103+
object[type="image/svg+xml"]:not([width]) {
104+
width: fit-content;
105+
}
106+
107+
::placeholder {
108+
opacity: 0.5;
109+
}
110+
111+
@media (pointer: fine) {
112+
@supports (scrollbar-width: thin) {
113+
html {
114+
scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-track-color);
115+
}
116+
117+
body * {
118+
scrollbar-width: thin;
119+
scrollbar-color: var(--scrollbar-thumb-color) transparent;
120+
}
121+
}
122+
123+
html::-webkit-scrollbar {
124+
background-color: var(--scrollbar-track-color);
125+
height: 12px;
126+
width: 12px;
127+
}
128+
129+
body ::-webkit-scrollbar {
130+
height: 6px;
131+
width: 6px;
132+
}
133+
134+
::-webkit-scrollbar-thumb {
135+
background-clip: padding-box;
136+
background-color: var(--scrollbar-thumb-color);
137+
border: 3px solid transparent;
138+
border-radius: 12px;
139+
}
140+
141+
body ::-webkit-scrollbar-thumb {
142+
border-width: 1.75px;
143+
border-radius: 6px;
144+
}
145+
146+
::-webkit-scrollbar-thumb:hover {
147+
background-color: var(--scrollbar_hover-thumb-color);
148+
}
149+
}

src/css/body.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
@media screen and (min-width: 1024px) {
2+
.body {
3+
display: flex;
4+
}
5+
}

src/css/breadcrumbs.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.breadcrumbs {
2+
display: none;
3+
flex: 1 1;
4+
padding: 0 0.5rem 0 0.75rem;
5+
line-height: var(--nav-line-height);
6+
}
7+
8+
@media screen and (min-width: 1024px) {
9+
.breadcrumbs {
10+
display: block;
11+
}
12+
}
13+
14+
a + .breadcrumbs {
15+
padding-left: 0.05rem;
16+
}
17+
18+
.breadcrumbs ul {
19+
display: flex;
20+
flex-wrap: wrap;
21+
margin: 0;
22+
padding: 0;
23+
list-style: none;
24+
}
25+
26+
.breadcrumbs li {
27+
display: inline;
28+
margin: 0;
29+
}
30+
31+
.breadcrumbs li::after {
32+
content: "/";
33+
padding: 0 0.5rem;
34+
}
35+
36+
.breadcrumbs li:last-of-type::after {
37+
content: none;
38+
}

0 commit comments

Comments
 (0)