Skip to content

Commit 029057a

Browse files
committed
Drop theme and bootstrap, build our own CSS
1 parent 9f44623 commit 029057a

Some content is hidden

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

81 files changed

+1819
-1268
lines changed

assets/scss/_styles_project.scss

Lines changed: 0 additions & 653 deletions
This file was deleted.

assets/scss/baseline.scss

Lines changed: 194 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,194 @@
1+
* {
2+
box-sizing: border-box;
3+
}
4+
5+
html, body {
6+
line-height: 1.7;
7+
font-family: $font-family-base;
8+
font-size: 12pt;
9+
padding: 0;
10+
margin: 0;
11+
}
12+
13+
.content-grid {
14+
--padding-inline: 1rem;
15+
--content-max-width: 140ch;
16+
17+
display: grid;
18+
grid-template-columns:
19+
[full-width-start] #{"minmax(var(--padding-inline), 1fr)"}
20+
[content-start]
21+
#{"repeat(12, [col-start] calc(min(100% - (var(--padding-inline) * 2), var(--content-max-width)) / 12 - var(--padding-inline)) [col-end] var(--padding-inline) )"}
22+
[content-end]
23+
#{"minmax(var(--padding-inline), 1fr) [full-width-end]"};
24+
}
25+
26+
.content-grid > :not(.full-width),
27+
.full-width > :not(.full-width) {
28+
grid-column: content;
29+
}
30+
31+
.content-grid > .full-width {
32+
grid-column: full-width;
33+
}
34+
35+
.content-grid .content-grid {
36+
display: grid;
37+
grid-template-columns: inherit;
38+
}
39+
40+
a {
41+
text-decoration: none;
42+
43+
&, &:visited {
44+
color: $link-color;
45+
}
46+
47+
&:hover {
48+
color: lighten($link-color, 20%);
49+
}
50+
}
51+
52+
h1, h2, h3, h4, h5, h6 {
53+
font-weight: 500;
54+
line-height: 1.2em;
55+
56+
&:first-child {
57+
margin-block-start: 0;
58+
}
59+
}
60+
61+
h1 {
62+
font-size: 2.3rem;
63+
}
64+
65+
h2 {
66+
font-size: 1.9rem;
67+
}
68+
69+
h3 {
70+
font-size: 1.5rem;
71+
}
72+
73+
h4, h5, h6 {
74+
font-weight: 700;
75+
}
76+
h4 {
77+
font-size: 1.3rem;
78+
}
79+
80+
h5 {
81+
font-size: 1.15rem;
82+
}
83+
84+
h6 {
85+
font-size: 1rem;
86+
}
87+
88+
section {
89+
padding-block: 4rem;
90+
min-width: 0;
91+
}
92+
93+
figure {
94+
text-align: center;
95+
> a > img {
96+
max-width: 100%;
97+
}
98+
}
99+
100+
section.arrow {
101+
position: relative;
102+
}
103+
104+
section.arrow::after {
105+
--width: 60px;
106+
--height: 45px;
107+
108+
left: 50%;
109+
margin-left: #{"calc(-1 * var(--width))"};
110+
bottom: #{"calc(-1 * var(--height))"};
111+
border-style: solid;
112+
border-width: var(--height) var(--width) 0;
113+
border-color: $gray transparent transparent transparent;
114+
z-index: 3;
115+
position: absolute;
116+
content: "";
117+
}
118+
119+
.docs {
120+
.docs-footer {
121+
font-size: $font-size-small;
122+
}
123+
}
124+
125+
pre {
126+
max-width: 100%;
127+
}
128+
129+
blockquote {
130+
padding: 0.5rem 1.5rem;
131+
margin-left: 1rem;
132+
border-left: 4px solid #ddd;
133+
color: #777;
134+
}
135+
136+
table {
137+
border-collapse: collapse;
138+
margin-block: 2rem;
139+
}
140+
141+
td, th {
142+
padding: 0.25rem 0.5rem;
143+
border: 1px solid $grayish;
144+
border-width: 1px 0;
145+
vertical-align: top;
146+
}
147+
148+
th {
149+
text-align: left;
150+
border-width: 2px 0;
151+
}
152+
tr:last-child td {
153+
border-bottom-width: 2px;
154+
}
155+
156+
.table-wide {
157+
overflow: auto;
158+
159+
table {
160+
width: 100%;
161+
min-width: 60ch;
162+
}
163+
}
164+
165+
.breadcrumb {
166+
list-style: none;
167+
display: flex;
168+
flex-wrap: wrap;
169+
padding: 0;
170+
font-size: $font-size-small;
171+
172+
li {
173+
display: inline-block;
174+
175+
&.active {
176+
font-weight: 500;
177+
}
178+
179+
&:not(:last-child)::after {
180+
display: inline-block;
181+
content: '/';
182+
scale: 1.2;
183+
opacity: 0.5;
184+
margin-inline: 0.5rem;
185+
}
186+
}
187+
}
188+
189+
address {
190+
padding-left: 2rem;
191+
font-size: 1.1em;
192+
line-height: 1.5em;
193+
font-weight: 100;
194+
}

0 commit comments

Comments
 (0)