From de84d74c22a61a1e31698f1f478796350a9d6ad9 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Sun, 25 Oct 2020 11:12:05 +0000
Subject: [PATCH] 🖥 Added support for ultrawide screen monitors
---
assets/css/style.css | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/assets/css/style.css b/assets/css/style.css
index e4accb6..ab0bb21 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -261,11 +261,15 @@
position: fixed;
z-index: 4;
border-right: 1px solid var(--border-color);
+ display: flex;
+ flex-direction: column;
+ min-height: 100%;
}
.sidebar .logo-title {
text-align: center;
padding-top: 240px;
+ flex: 1;
}
.sidebar .logo-title .description {
@@ -302,6 +306,7 @@
padding: 0;
font-size: 14px;
text-align: center;
+ flex: 7;
}
.sidebar .social-links i {
@@ -524,9 +529,10 @@
font-size: 10px;
margin: 0 auto;
bottom: 0;
- position: absolute;
width: 100%;
padding-bottom: 20px;
+ flex: 0;
+ position: relative;
}
.footer a {
@@ -977,3 +983,14 @@
display: none;
}
}
+
+@media (min-width: 1921px){
+ .content {
+ padding-right: 25%;
+ width: 35%;
+ }
+ .sidebar {
+ padding-left: 15%;
+ width: 25%;
+ }
+}
\ No newline at end of file
--
Gitblit v1.10.0