Braid-slides/slides.css
2026-01-13 16:37:16 +01:00

127 lines
1.5 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";
}
a {
color: teal;
}
img {
max-width: 100%;
}
.step tt {
font-size: smaller;
background-color: lightblue;
border-radius: 5px;
padding: 2px;
}
.step strong {
/* color: ; */
/* font-weight: normal; */
}
.step:has(img) {
width: 1000px;
}
.step pre {
background-color: lightblue;
font-size: smaller;
padding: 5px 10px;
border-radius: 5px;
}
.header p,
h1, h2, h3, h4 {
font-family: 'avara';
}
.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;
}
.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;
}