Embed IBM plex and use sass
This commit is contained in:
parent
85e79a8090
commit
a9321013d8
254 changed files with 1428 additions and 41 deletions
61
assets/style.scss
Normal file
61
assets/style.scss
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
@import 'ibm-plex/css/ibm-plex';
|
||||
|
||||
*, *:before, *:after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fefefe;
|
||||
font-family: 'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.ten-print {
|
||||
/*
|
||||
* the base size of the header svg is 500 * 500, strokes
|
||||
* will need to be divided by 196 / 500 = 0.352
|
||||
*/
|
||||
width: 196px;
|
||||
height: 196px;
|
||||
}
|
||||
|
||||
.ten-print path {
|
||||
stroke: #ff005f;
|
||||
fill: transparent;
|
||||
stroke-width: 3.83px; /* = 1.5px */
|
||||
stroke-linecap: round;
|
||||
}
|
||||
|
||||
main {
|
||||
display: grid;
|
||||
max-width: 960px;
|
||||
margin: 48px auto;
|
||||
grid-gap: 32px;
|
||||
grid-auto-rows: 1fr;
|
||||
grid-template-columns: repeat(30, 1fr);
|
||||
grid-auto-flow: dense;
|
||||
}
|
||||
|
||||
aside {
|
||||
grid-column: span 10;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
article {
|
||||
grid-column: span 20;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue