mirror of
https://github.com/dtinth/comic-mono-font.git
synced 2026-02-21 22:43:59 +00:00
Add styling
This commit is contained in:
26
index.html
26
index.html
@@ -7,6 +7,7 @@
|
|||||||
<link rel="stylesheet" href="style.css" />
|
<link rel="stylesheet" href="style.css" />
|
||||||
<title>Serious Sans</title>
|
<title>Serious Sans</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>Serious Sans</h1>
|
<h1>Serious Sans</h1>
|
||||||
<p>
|
<p>
|
||||||
@@ -20,6 +21,7 @@
|
|||||||
<a href="https://github.com/shannpersand/comic-shanns">Comic Shanns</a>
|
<a href="https://github.com/shannpersand/comic-shanns">Comic Shanns</a>
|
||||||
(version 1)
|
(version 1)
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Download</h2>
|
<h2>Download</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
@@ -34,6 +36,7 @@
|
|||||||
>SeriousSansItalic.ttf</a
|
>SeriousSansItalic.ttf</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
<br />
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/kaBeech/serious-sans/SeriousSans/SeriousSansBold.ttf"
|
href="https://github.com/kaBeech/serious-sans/SeriousSans/SeriousSansBold.ttf"
|
||||||
@@ -46,6 +49,8 @@
|
|||||||
>SeriousSansBoldItalic.ttf</a
|
>SeriousSansBoldItalic.ttf</a
|
||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
|
<br />
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/kaBeech/serious-sans/SeriousSans/SeriousSansLight.ttf"
|
href="https://github.com/kaBeech/serious-sans/SeriousSans/SeriousSansLight.ttf"
|
||||||
@@ -59,6 +64,7 @@
|
|||||||
>
|
>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h2>What?</h2>
|
<h2>What?</h2>
|
||||||
<p>
|
<p>
|
||||||
Serious Sans is a legible monospaced font made to resemble the classic
|
Serious Sans is a legible monospaced font made to resemble the classic
|
||||||
@@ -85,6 +91,7 @@
|
|||||||
style="max-width: 100%"
|
style="max-width: 100%"
|
||||||
/></a>
|
/></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Why?</h2>
|
<h2>Why?</h2>
|
||||||
<p>
|
<p>
|
||||||
To overcome writer's block, some writers change the font of their word
|
To overcome writer's block, some writers change the font of their word
|
||||||
@@ -99,12 +106,14 @@
|
|||||||
make our work easier. Monospacing and legibility are important factors
|
make our work easier. Monospacing and legibility are important factors
|
||||||
that facilitate quick scanning of many lines of code
|
that facilitate quick scanning of many lines of code
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Legibility</h3>
|
<h3>Legibility</h3>
|
||||||
<p>
|
<p>
|
||||||
Legibility means being able to quickly tell which character is which. In
|
Legibility means being able to quickly tell which character is which. In
|
||||||
fonts with low legibility, for example, it can be difficult to tell the
|
fonts with low legibility, for example, it can be difficult to tell the
|
||||||
difference between an upper case 'I' and a numeral '1'
|
difference between an upper case 'I' and a numeral '1'
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Monospacing</h3>
|
<h3>Monospacing</h3>
|
||||||
<p>
|
<p>
|
||||||
Monospacing means ensuring every character has the same width. This is
|
Monospacing means ensuring every character has the same width. This is
|
||||||
@@ -127,6 +136,7 @@
|
|||||||
Without a monospaced font, getting all those numbers to line up for easy
|
Without a monospaced font, getting all those numbers to line up for easy
|
||||||
adding would be a pain!
|
adding would be a pain!
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Origins</h3>
|
<h3>Origins</h3>
|
||||||
<p>
|
<p>
|
||||||
I originally changed the font in my IDE to Comic Mono as a joke. I decided
|
I originally changed the font in my IDE to Comic Mono as a joke. I decided
|
||||||
@@ -134,6 +144,7 @@
|
|||||||
to help my mindset while working. I made Serious Sans as my own leetle
|
to help my mindset while working. I made Serious Sans as my own leetle
|
||||||
fork to improve the usability of the font ^_^
|
fork to improve the usability of the font ^_^
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Differences from Comic Mono</h2>
|
<h2>Differences from Comic Mono</h2>
|
||||||
<ol>
|
<ol>
|
||||||
<li>I edited the 'a' to make it look less like an 'o'</li>
|
<li>I edited the 'a' to make it look less like an 'o'</li>
|
||||||
@@ -142,13 +153,12 @@
|
|||||||
</li>
|
</li>
|
||||||
<li>I added Italic styles for each weight style</li>
|
<li>I added Italic styles for each weight style</li>
|
||||||
</ol>
|
</ol>
|
||||||
<ul>
|
<br />
|
||||||
<li>
|
<p>
|
||||||
Note: you can ignore the generate.py file - it generates the original
|
Note: you can ignore the generate.py file - it generates the original
|
||||||
Comic Mono font. I haven't decided yet if I'm going to modify or remove
|
Comic Mono font. I haven't decided yet if I'm going to modify or remove it
|
||||||
it
|
</p>
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
<h2>Any issues?</h2>
|
<h2>Any issues?</h2>
|
||||||
<p>If you notice any, please feel free to open an issue!</p>
|
<p>If you notice any, please feel free to open an issue!</p>
|
||||||
<p>
|
<p>
|
||||||
@@ -156,11 +166,13 @@
|
|||||||
SeriousSans.tff. The other styles have been reviewed but are largely
|
SeriousSans.tff. The other styles have been reviewed but are largely
|
||||||
untested
|
untested
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>License</h2>
|
<h2>License</h2>
|
||||||
<p>
|
<p>
|
||||||
Serious Sans is licensed under the
|
Serious Sans is licensed under the
|
||||||
<a href="/kaBeech/serious-sans/blob/main/LICENSE">MIT License</a>.
|
<a href="/kaBeech/serious-sans/blob/main/LICENSE">MIT License</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h2>Disclaimer</h2>
|
<h2>Disclaimer</h2>
|
||||||
<p>
|
<p>
|
||||||
Please note that this font is in no way affiliated with the delightful
|
Please note that this font is in no way affiliated with the delightful
|
||||||
|
|||||||
32
style.css
32
style.css
@@ -1,4 +1,36 @@
|
|||||||
body {
|
body {
|
||||||
|
background-color: #1e1e1e;
|
||||||
|
color: #d4d4d4;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
|
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
|
||||||
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul,
|
||||||
|
ol {
|
||||||
|
list-style: none;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul,
|
||||||
|
ol,
|
||||||
|
li {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
font-size: 100%;
|
||||||
|
font: inherit;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
:link {
|
||||||
|
color: aqua;
|
||||||
|
}
|
||||||
|
|
||||||
|
:visited {
|
||||||
|
color: rgb(0, 188, 138);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user