-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Main goal to be more readable. Specifically: - Make pages look more paper-like by * having margins for the text to the "paper", * having margins for the "paper" to the borders of the screen, and * applying a maximum width for the "paper". - Change fonts to the free fonts FreeSerif, FreeSans and Mononoki. - Change to: * Serif in body text. * Sans-serif almost everywhere else. I did this as I think it is easier to read texts with serif in comparison to sans-serif, and since it looks better when switching to and from the math Computer Modern Roman used by MathJax which is of serif-type. - Reduce size of headers as they were overwhelmingly large. - Remove box around inline code. As the documentation is written as a text, code should only be considered as another font family, similar to how italic/oblique is used to emphasize things and how italic symbols are used in mathematics: It is simply another "mode" in the text. - Insert spacing between items in the sidebar as they were too close to each other. - Reduce size of term in description list. NOTE: Some things in the documentation should be changed in order to look the best. One of these is to use monospace/inline code when referring to a computer variable. Another thing is to use monospace for C-files (*.c, *.h) in the headers. Optionally, one can also start using monospace when referring to websites and emails; I need to think about how to do this in practice first (there are multiple options).
- Loading branch information
1 parent
ab5e81c
commit 472e7e1
Showing
7 changed files
with
142 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
@font-face | ||
{ | ||
font-family: FreeSans; | ||
src: url(fonts/FreeSans-small.woff); | ||
} | ||
|
||
/* These two should never be used in our typesetting */ | ||
/* @font-face */ | ||
/* { */ | ||
/* font-family: FreeSans; */ | ||
/* src: url(fonts/FreeSansBold-small.woff); */ | ||
/* font-weight: bold; */ | ||
/* } */ | ||
|
||
/* @font-face */ | ||
/* { */ | ||
/* font-family: FreeSans; */ | ||
/* src: url(fonts/FreeSansOblique.woff); */ | ||
/* font-style: oblique; */ | ||
/* } */ | ||
|
||
@font-face | ||
{ | ||
font-family: FreeSerif; | ||
src: url(fonts/FreeSerif-small.woff); | ||
} | ||
|
||
@font-face | ||
{ | ||
font-family: FreeSerif; | ||
src: url(fonts/FreeSerifItalic-small.woff); | ||
font-style: italic; | ||
} | ||
|
||
@font-face | ||
{ | ||
font-family: FreeSerif; | ||
src: url(fonts/FreeSerifBold-small.woff); | ||
font-weight: bold; | ||
} | ||
|
||
/* Neither should this one */ | ||
/* @font-face */ | ||
/* { */ | ||
/* font-family: FreeSerif; */ | ||
/* src: url(fonts/FreeSerifBoldItalic-small.woff); */ | ||
/* font-style: italic; */ | ||
/* font-weight: bold; */ | ||
/* } */ | ||
|
||
@font-face | ||
{ | ||
font-family: Mononoki; | ||
src: url(fonts/mononoki-Regular.woff2); | ||
} |