aboutsummaryrefslogtreecommitdiff
path: root/assets/css/layout.css
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-07-17 14:26:52 +0200
committerEugen Wissner <belka@caraus.de>2026-07-17 14:26:52 +0200
commite844a70479915d1fba0336800b35c8c1022b61c6 (patch)
treecc9402a686380d5b14a43146c10cc3a57a55fd14 /assets/css/layout.css
parent8f954ab7c662e0c507c2328d5b2683fbd4c3a391 (diff)
downloadflevum-e844a70479915d1fba0336800b35c8c1022b61c6.tar.gz
Convert preprocesser files to plain CSSHEADmaster
Diffstat (limited to 'assets/css/layout.css')
-rw-r--r--assets/css/layout.css191
1 files changed, 191 insertions, 0 deletions
diff --git a/assets/css/layout.css b/assets/css/layout.css
new file mode 100644
index 0000000..60b662f
--- /dev/null
+++ b/assets/css/layout.css
@@ -0,0 +1,191 @@
+.site-header {
+ display: grid;
+ justify-content: center;
+ padding: 0 20px;
+ text-align: center;
+}
+
+.site-header .site-header-wrapper {
+ position: relative;
+ overflow: hidden;
+ background: var(--main-color);
+ padding: 10px 25px 20px 25px;
+ border-radius: 0 0 5px 5px;
+ text-decoration: none;
+ transition: background .2s ease;
+}
+
+.site-header .site-header-wrapper:before {
+ position: absolute;
+ top: 0;
+ left: -150%;
+ content: "";
+ width: 50%;
+ height: 100%;
+ background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
+ transform: skew(-45deg, 0);
+}
+
+.site-header .site-header-wrapper:hover {
+ background: var(--main-color-hover);
+}
+
+.site-header .site-header-wrapper:hover:before {
+ animation: headerShine .35s;
+}
+
+.site-header .site-header-wrapper .site-logo {
+ display: block;
+ margin: 0 0 10px;
+}
+
+.site-header .site-header-wrapper .site-logo img {
+ display: block;
+}
+
+.site-header .site-header-wrapper .site-subtitle {
+ display: block;
+ font-family: 'Bebas Neue', sans-serif;
+ font-size: 11px;
+ line-height: 14px;
+ color: var(--grey-fc);
+}
+
+.site-header .site-header-wrapper .site-title {
+ display: block;
+ font-family: 'Bebas Neue', sans-serif;
+ font-size: 26px;
+ line-height: 28px;
+ color: var(--grey-fc);
+}
+
+.site-navigation {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ flex-flow: row wrap;
+ gap: 10px 40px;
+ max-width: 800px;
+ margin: 30px auto 0;
+ padding: 0 20px;
+ text-align: center;
+}
+
+.site-navigation a,
+.site-navigation span {
+ position: relative;
+ text-decoration: none;
+ color: var(--grey-555);
+ padding: 0 0 2px;
+ transition: color .2s ease;
+ cursor: pointer;
+}
+
+.site-navigation a:before,
+.site-navigation span:before {
+ position: absolute;
+ opacity: 0;
+ left: 0;
+ bottom: 0;
+ width: 0%;
+ border-bottom: 2px solid var(--grey-222);
+ transition: width .18s ease, opacity .18s ease;
+ content: "";
+}
+
+.site-navigation a:hover,
+.site-navigation span:hover,
+.site-navigation a.active,
+.site-navigation span.active {
+ color: var(--grey-222);
+}
+
+.site-navigation a:hover:before,
+.site-navigation span:hover:before,
+.site-navigation a.active:before,
+.site-navigation span.active:before {
+ width: 100%;
+ opacity: 1;
+}
+
+@media screen and (max-width: 800px) {
+ .site-header {
+ position: fixed;
+ left: 0;
+ top: 0;
+ width: 100%;
+ z-index: 9;
+ background: var(--body-bg);
+ box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
+ }
+
+ .site-header .site-header-wrapper {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ flex-flow: row wrap;
+ gap: 0 15px;
+ border-radius: 0;
+ padding: 20px;
+ background: transparent;
+ }
+
+ .site-header .site-header-wrapper:hover {
+ background: transparent;
+ }
+
+ .site-header .site-header-wrapper .site-logo,
+ .site-header .site-header-wrapper .site-subtitle {
+ display: none;
+ }
+
+ .site-header .site-header-wrapper .site-title {
+ font-size: 32px;
+ line-height: 36px;
+ color: var(--main-color);
+ }
+
+ .site-navigation {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ justify-content: flex-start;
+ flex-flow: column nowrap;
+ gap: 20px 0;
+ transform: translate(0, -100%);
+ transition: transform .25s ease-in-out;
+ padding: 100px 20px 0;
+ background: rgba(255, 255, 255, .9);
+ z-index: 10;
+ }
+
+ .site-navigation a,
+ .site-navigation span {
+ color: var(--grey-222);
+ font-size: 30px;
+ line-height: 40px;
+ }
+}
+
+.wrapper {
+ max-width: 600px;
+ margin: 0 auto;
+ padding: 0 20px 35px;
+ border-bottom: 1px solid var(--grey-eee);
+}
+
+.wrapper.long {
+ max-width: 800px;
+}
+
+.site-footer {
+ max-width: 800px;
+ margin: 0 auto;
+ padding: 40px 20px;
+ font-size: 14px;
+ line-height: 22px;
+ color: var(--grey-ccc);
+ text-align: center;
+}