aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--css/main.css85
1 files changed, 72 insertions, 13 deletions
diff --git a/css/main.css b/css/main.css
index f2f6f84..659b7d5 100644
--- a/css/main.css
+++ b/css/main.css
@@ -1,18 +1,39 @@
-.m {
- font-family: "Times New Roman", serif;
- font-size: 72px;
- text-decoration: none;
+@font-face {
+ font-family: "Didot";
+ src: url("/assets/Didot Bold.otf") format("OpenType");
+}
+
+.front-text {
+ font-family: "Noto Sans", sans-serif;
color: black;
}
+
.code {
- font-family: monospace;
+ font-family: "Noto Sans Mono", monospace;
color: gray;
}
+.date {
+ font-size: 16px;
+}
+
+@media (max-width:700px) {
+ .side-margin {
+ margin-left: 1rem;
+ margin-right: 1rem;
+ }
+}
+@media (min-width:700px) {
+ .side-margin {
+ margin-left: 4rem;
+ margin-right: 1rem;
+ }
+}
+
.link {
- padding: 2px;
color: black;
+ border-radius: 3%;
}
.link:active {
@@ -21,13 +42,51 @@
text-decoration: none;
}
+.article-m {
+ font-family: "Noto Sans Mono", monospace;
+ font-size: 24px;
+ text-decoration: none;
+ opacity: 0.6;
+ color: black;
+ font-weight: bold;
+ padding: 0px;
+ margin-top: 2rem;
+}
+
+.article-m:hover {
+ opacity: 1;
+ color: blue;
+}
+.article-m:active {
+ color: white;
+ background: blue;
+ text-decoration: none;
+}
+
body {
- padding:0;
- margin:0;
- overflow:hidden;
- font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
- font-size:14px;
- font-weight:400;
- line-height:14px
+ padding: 0;
+ margin: 0;
+ overflow: hidden;
+ font-family: "Times New Roman", "Liberation Serif", serif;
+ font-size: 16px;
+ font-weight: 400;
+ line-height: 1.8;
+}
+
+h1 {
+ font-family: "Times New Roman", Serif;
+ font-weight: 500;
+ font-size: 32px;
+ margin-bottom: 0;
+ line-height: 1.5;
+}
+
+h2 {
+ font-family: "Times New Roman", Serif;
+ font-weight: 500;
+ font-size: 24px;
+ line-height: 1.5;
+
+ margin-bottom: 0;
}