HTML Setup
This commit is contained in:
parent
5f3aff6184
commit
9fa50b2654
19
in/css/extra.scss
Normal file
19
in/css/extra.scss
Normal 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
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
body {
|
@import "extra.scss";
|
||||||
font-family: sans-serif;
|
.content {
|
||||||
|
@include font('sans');
|
||||||
margin-left: 2em;
|
margin-left: 2em;
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
@mixin font-settings($weight:0,$width:0,$yopq:0,$slant:0)
|
@import "extra.scss"
|
||||||
font-variation-settings: 'wght' $weight,'wdth' $width, 'YOPQ' $yopq, 'slnt' $slant
|
|
||||||
@font-face
|
@font-face
|
||||||
font-family: 'Science Gothic', monospace
|
font-family: 'Science Gothic', monospace
|
||||||
src: url('font/science-gothic.ttf') format('truetype')
|
src: url('font/science-gothic.ttf') format('truetype')
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
#+OPTIONS: num:nil toc:1
|
#+OPTIONS: num:nil toc:1
|
||||||
#+STARTUP: entitiespretty
|
#+STARTUP: entitiespretty
|
||||||
* Xaviard
|
* Xaviard
|
||||||
See: [[file:./xavard.org]]
|
See: [[xaviard.html]]
|
||||||
|
0
in/mgh/intro.txti
Normal file
0
in/mgh/intro.txti
Normal file
Loading…
Reference in New Issue
Block a user