-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop theme and bootstrap, build our own CSS
- Loading branch information
Showing
81 changed files
with
1,819 additions
and
1,268 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
* { | ||
box-sizing: border-box; | ||
} | ||
|
||
html, body { | ||
line-height: 1.7; | ||
font-family: $font-family-base; | ||
font-size: 12pt; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.content-grid { | ||
--padding-inline: 1rem; | ||
--content-max-width: 140ch; | ||
|
||
display: grid; | ||
grid-template-columns: | ||
[full-width-start] #{"minmax(var(--padding-inline), 1fr)"} | ||
[content-start] | ||
#{"repeat(12, [col-start] calc(min(100% - (var(--padding-inline) * 2), var(--content-max-width)) / 12 - var(--padding-inline)) [col-end] var(--padding-inline) )"} | ||
[content-end] | ||
#{"minmax(var(--padding-inline), 1fr) [full-width-end]"}; | ||
} | ||
|
||
.content-grid > :not(.full-width), | ||
.full-width > :not(.full-width) { | ||
grid-column: content; | ||
} | ||
|
||
.content-grid > .full-width { | ||
grid-column: full-width; | ||
} | ||
|
||
.content-grid .content-grid { | ||
display: grid; | ||
grid-template-columns: inherit; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
|
||
&, &:visited { | ||
color: $link-color; | ||
} | ||
|
||
&:hover { | ||
color: lighten($link-color, 20%); | ||
} | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6 { | ||
font-weight: 500; | ||
line-height: 1.2em; | ||
|
||
&:first-child { | ||
margin-block-start: 0; | ||
} | ||
} | ||
|
||
h1 { | ||
font-size: 2.3rem; | ||
} | ||
|
||
h2 { | ||
font-size: 1.9rem; | ||
} | ||
|
||
h3 { | ||
font-size: 1.5rem; | ||
} | ||
|
||
h4, h5, h6 { | ||
font-weight: 700; | ||
} | ||
h4 { | ||
font-size: 1.3rem; | ||
} | ||
|
||
h5 { | ||
font-size: 1.15rem; | ||
} | ||
|
||
h6 { | ||
font-size: 1rem; | ||
} | ||
|
||
section { | ||
padding-block: 4rem; | ||
min-width: 0; | ||
} | ||
|
||
figure { | ||
text-align: center; | ||
> a > img { | ||
max-width: 100%; | ||
} | ||
} | ||
|
||
section.arrow { | ||
position: relative; | ||
} | ||
|
||
section.arrow::after { | ||
--width: 60px; | ||
--height: 45px; | ||
|
||
left: 50%; | ||
margin-left: #{"calc(-1 * var(--width))"}; | ||
bottom: #{"calc(-1 * var(--height))"}; | ||
border-style: solid; | ||
border-width: var(--height) var(--width) 0; | ||
border-color: $gray transparent transparent transparent; | ||
z-index: 3; | ||
position: absolute; | ||
content: ""; | ||
} | ||
|
||
.docs { | ||
.docs-footer { | ||
font-size: $font-size-small; | ||
} | ||
} | ||
|
||
pre { | ||
max-width: 100%; | ||
} | ||
|
||
blockquote { | ||
padding: 0.5rem 1.5rem; | ||
margin-left: 1rem; | ||
border-left: 4px solid #ddd; | ||
color: #777; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
margin-block: 2rem; | ||
} | ||
|
||
td, th { | ||
padding: 0.25rem 0.5rem; | ||
border: 1px solid $grayish; | ||
border-width: 1px 0; | ||
vertical-align: top; | ||
} | ||
|
||
th { | ||
text-align: left; | ||
border-width: 2px 0; | ||
} | ||
tr:last-child td { | ||
border-bottom-width: 2px; | ||
} | ||
|
||
.table-wide { | ||
overflow: auto; | ||
|
||
table { | ||
width: 100%; | ||
min-width: 60ch; | ||
} | ||
} | ||
|
||
.breadcrumb { | ||
list-style: none; | ||
display: flex; | ||
flex-wrap: wrap; | ||
padding: 0; | ||
font-size: $font-size-small; | ||
|
||
li { | ||
display: inline-block; | ||
|
||
&.active { | ||
font-weight: 500; | ||
} | ||
|
||
&:not(:last-child)::after { | ||
display: inline-block; | ||
content: '/'; | ||
scale: 1.2; | ||
opacity: 0.5; | ||
margin-inline: 0.5rem; | ||
} | ||
} | ||
} | ||
|
||
address { | ||
padding-left: 2rem; | ||
font-size: 1.1em; | ||
line-height: 1.5em; | ||
font-weight: 100; | ||
} |
Oops, something went wrong.