Merge branch 'html'
This commit is contained in:
commit
90ce38a08c
2
in/css/all.sass
Normal file
2
in/css/all.sass
Normal file
@ -0,0 +1,2 @@
|
||||
.header
|
||||
border: 1px solid black
|
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,6 @@
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
@import "extra.scss";
|
||||
@import url("all.css");
|
||||
.content {
|
||||
@include font('sans');
|
||||
margin-left: 2em;
|
||||
}
|
||||
|
@ -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')
|
||||
|
@ -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
0
in/mgh/intro.txti
Normal file
Loading…
Reference in New Issue
Block a user