aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
Diffstat (limited to 'css')
-rw-r--r--css/main.css78
1 files changed, 41 insertions, 37 deletions
diff --git a/css/main.css b/css/main.css
index 129e63b..add1177 100644
--- a/css/main.css
+++ b/css/main.css
@@ -1,6 +1,6 @@
@font-face {
- font-family: "Didot";
- src: url("/assets/Didot Bold.otf") format("OpenType");
+ font-family: "Didot";
+ src: url("/assets/Didot Bold.otf") format("OpenType");
}
.front-text {
@@ -8,38 +8,37 @@
color: black;
}
-
.code {
font-family: "Noto Sans Mono", monospace;
color: gray;
}
.date {
- font-size: 16px;
+ font-size: 16px;
}
-@media (max-width:700px) {
- .side-margin {
- margin-left: 1rem;
- margin-right: 1rem;
- }
+@media (max-width: 700px) {
+ .side-margin {
+ margin-left: 1rem;
+ margin-right: 1rem;
+ }
}
-@media (min-width:700px) {
+@media (min-width: 700px) {
.side-margin {
- margin-left: 4rem;
- margin-right: 1rem;
+ margin-left: 4rem;
+ margin-right: 1rem;
}
}
.link {
- color: black;
- border-radius: 3%;
+ color: black;
+ border-radius: 3%;
}
.link:active {
- color: white;
- background: blue;
- text-decoration: none;
+ color: white;
+ background: blue;
+ text-decoration: none;
}
.article-m {
@@ -54,18 +53,18 @@
}
.article-m:hover {
- opacity: 1;
- color: blue;
+ opacity: 1;
+ color: blue;
}
.article-m:active {
- color: white;
- background: blue;
- text-decoration: none;
+ color: white;
+ background: blue;
+ text-decoration: none;
}
pre {
- overflow-x: scroll;
- font-size: 14px;
+ overflow-x: scroll;
+ font-size: 14px;
}
body {
@@ -79,21 +78,26 @@ body {
}
h1 {
- font-family: "Times New Roman", Serif;
- font-weight: 700;
- font-size: 20px;
- margin-top: 3.0rem;
- line-height: 1.5;
- border-bottom: 1px solid;
- display: flex;
+ font-family: "Times New Roman", Serif;
+ font-weight: 700;
+ font-size: 20px;
+ margin-top: 3rem;
+ line-height: 1.5;
+ border-bottom: 1px solid;
+ display: flex;
+}
+
+hr {
+ border: solid 1px black;
+ width: 20%;
+ color: #ffff00;
}
h2 {
- font-family: "Times New Roman", Serif;
- font-weight: 500;
- font-size: 24px;
- line-height: 1.5;
+ font-family: "Times New Roman", Serif;
+ font-weight: 500;
+ font-size: 24px;
+ line-height: 1.5;
- margin-bottom: 0;
+ margin-bottom: 0;
}
-