]> git.cworth.org Git - lmno.games/commitdiff
Add the most basic of font styling
authorCarl Worth <cworth@cworth.org>
Sat, 16 May 2020 20:24:31 +0000 (13:24 -0700)
committerCarl Worth <cworth@cworth.org>
Sat, 16 May 2020 22:33:10 +0000 (15:33 -0700)
Simply choosing a sans-serif font for the body as well as some larger
(and bold) font sizes for h1 and h2 headers.

index.html
style.css [new file with mode: 0644]

index dea8e1d199fa3dc6ad9ed6193058f70e897ac93b..24f4f3296accca5d63023aa55bd1274ba6f0d890 100644 (file)
@@ -6,6 +6,7 @@
     <title>LMNO Games</title>
 
     <link rel="stylesheet" href="/reset.css" type="text/css" />
+    <link rel="stylesheet" href="/style.css" type="text/css" />
   </head>
   <body>
     <h1>LMNO Games</h1>
diff --git a/style.css b/style.css
new file mode 100644 (file)
index 0000000..899b902
--- /dev/null
+++ b/style.css
@@ -0,0 +1,20 @@
+/*\
+|*|
+|*| Core elements: Sizing and padding
+|*|
+\*/
+
+body {
+    line-height: 1.5;
+    font-family: sans-serif;
+}
+
+h1 {
+    font-size: 150%;
+    font-weight: bold;
+}
+
+h2 {
+    font-size: 110%;
+    font-weight: bold;
+}