Merge branch 'html'

This commit is contained in:
Atlas Cove 2023-02-11 18:02:48 +00:00
commit 90ce38a08c
6 changed files with 28 additions and 5 deletions

2
in/css/all.sass Normal file
View File

@ -0,0 +1,2 @@
.header
border: 1px solid black

19
in/css/extra.scss Normal file
View File

@ -0,0 +1,19 @@
@mixin font($font) {
//no support for case so gonna have to YandereDev this.
@if($font=="sans") {
font-family: Arial, Helvetica, sans-serif;
}
@else if($font=="serif") {
font-family: "Times New Roman", Times, serif;
}
@else if($font=="mono") {
font-family: "Courier New", Courier, monospace;
}
@else {
@warn "Unknown value passed to mixin font: #{$font}."
}
}
@mixin font-settings($weight: 0, $width: 0, $yopq: 0, $slant: 0) {
font-variation-settings: 'wght'$weight, 'wdth'$width, 'YOPQ'$yopq, 'slnt'$slant
}

View File

@ -1,4 +1,6 @@
body {
font-family: sans-serif;
@import "extra.scss";
@import url("all.css");
.content {
@include font('sans');
margin-left: 2em;
}

View File

@ -1,5 +1,5 @@
@mixin font-settings($weight:0,$width:0,$yopq:0,$slant:0)
font-variation-settings: 'wght' $weight,'wdth' $width, 'YOPQ' $yopq, 'slnt' $slant
@import "extra.scss"
@import url("all.css")
@font-face
font-family: 'Science Gothic', monospace
src: url('font/science-gothic.ttf') format('truetype')

View File

@ -2,4 +2,4 @@
#+OPTIONS: num:nil toc:1
#+STARTUP: entitiespretty
* Xaviard
See: [[file:./xavard.org]]
See: [[xaviard.html]]

0
in/mgh/intro.txti Normal file
View File