summaryrefslogtreecommitdiff
path: root/html/style.css
diff options
context:
space:
mode:
authordavidovski <david@sendula.com>2021-08-27 03:08:43 +0100
committerdavidovski <david@sendula.com>2021-08-27 03:08:43 +0100
commit372855459a5cb707a1cdbc6d7adb12177afbf44b (patch)
treedbce97edf0365812d920648030a5820e97a6b5c2 /html/style.css
parent16b00548ec80b58c4e9a2c14acb2c0b713fd5592 (diff)
new article, added background
Diffstat (limited to 'html/style.css')
-rw-r--r--html/style.css64
1 files changed, 60 insertions, 4 deletions
diff --git a/html/style.css b/html/style.css
index 4221417..06f7c5d 100644
--- a/html/style.css
+++ b/html/style.css
@@ -8,6 +8,7 @@
--magenta: #b294bb;
--cyan: #b4d6d1;
--white: #c5c8c6;
+ --bg-light: #303030;
--bg: #191919;
--line: 2px;
}
@@ -20,9 +21,15 @@
body {
background-color: var(--bg);
+ background-image: url("https://davidovski.xyz/images/bg.png");
+ background-position: absolute;
+ background-repeat: no-repeat;
+ background-size: cover;
color: var(--fg);
font-family: mononoki;
- font-size: 16px
+ font-size: 16px;
+ padding: 0;
+ margin: 0;
}
a {
@@ -30,11 +37,27 @@ a {
text-decoration: none;
}
+h1 {
+ color: var(--white);
+}
+
+h2 {
+ color: var(--cyan);
+}
+
+h3 {
+ color: var(--blue);
+}
+
+
.main {
+ background-color: var(--bg);
margin-top: 0;
margin-bottom: 0;
- margin-left: 20%;
- margin-right: 20%;
+ margin-left: auto;
+ margin-right: auto;
+
+ width: 70%;
padding: 2%;
height: 100%;
@@ -60,7 +83,7 @@ hr {
border-bottom: var(--line) solid var(--fg);
}
.title {
- font-size: 40px;
+ font-size: 45px;
color: var(--fg);
}
.small {
@@ -81,3 +104,36 @@ a.blue {
color: --var(blue);
}
+code {
+ background-color: var(--bg-light);
+ font-size: 16px;
+ font-family: mononoki;
+ word-wrap: break-word;
+ width: 100%;
+}
+
+pre {
+ background-color: var(--bg-light);
+ white-space: pre-wrap;
+ padding: 5px;
+ border: var(--line) solid var(--fg);
+
+}
+
+.grid {
+ display: inline;
+}
+
+.about {
+ width: 75%;
+ float: left;
+}
+
+.image {
+ width: 25%;
+ float: right;
+}
+
+img {
+ width: 100%;
+}