Braid-slides/html_output/slides.css
2026-01-14 22:31:17 +01:00

135 lines
1.6 KiB
CSS

@font-face {
font-family: 'avara';
src: url("assets/fonts/Avara-Black.otf");
font-weight: bold;
}
@font-face {
font-family: 'nunito';
src: url("assets/fonts/nunito/Nunito-Light.ttf");
}
@font-face {
font-family: 'nunito';
src: url("assets/fonts/nunito/Nunito-Bold.ttf");
font-weight: bold;
}
html {
font-size: 62.5%;
}
body {
font-size: 2.5rem;
font-family: "nunito";
background: linear-gradient(rgb(209, 235, 103), rgb(124, 238, 92));
color: rgb(5, 0, 105);
}
a {
color: rgb(181, 0, 91);
}
img {
max-width: 100%;
}
.step {
width: 80vw;
}
.step strong {
/* color: ; */
/* font-weight: normal; */
}
.step:has(img) {
width: 1200px;
}
.step:has(img) img {
/* min-width: 300px; */
}
.step tt,
.step pre {
background-color: rgb(255, 161, 39);
font-size: 0.8em;
padding: 5px 10px;
border-radius: 10px;
}
.header p,
h1, h2, h3, h4 {
color: rgb(164, 0, 82);
font-family: 'avara';
font-size: 2.2em;
}
.hidden {
width: 1px;
height: 1px;
opacity: 0;
overflow: hidden;
}
.header p {
font-size: 2rem;
}
.full-width-image img {
width: 100%;
}
.columns {
columns: 2;
}
.columns h1{
column-span: all;
}
.columns-2 {
columns: 2;
}
.columns-3 {
columns: 3;
}
.row {
display: flex;
gap: 1rem;
justify-content: space-around;
}
.center {
text-align: center;
}
.no-list ul {
margin: 0;
list-style: none;
padding: 0;;
}
.large-text {
font-size: 4rem;
}
div#the-slide-id img{
width: 100%;
height: 100%;
}
/* for drawing machines */
.code-slide h1 {
transform: rotate(-90deg) translate(-100%,-150%);
transform-origin: top left;
position: absolute;
top: 0;
left: 0;
}