From 513f0d1134a14094cd86ead2f76edfb834ee5b95 Mon Sep 17 00:00:00 2001 From: Jakub Heger Date: Fri, 4 Oct 2024 13:31:49 +0200 Subject: [PATCH] made the site bit more responsive --- style.css | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/style.css b/style.css index 728b344..fecb442 100644 --- a/style.css +++ b/style.css @@ -155,3 +155,53 @@ table th, table td { table tr:nth-child(2n) { background-color: var(--background2); } + +@media only screen and (device-width: 1280px), +only screen and (max-width:1280px) { + + .cm-header { + font-size: 8px; + padding: 20px; + justify-content: center; + display: flex; + } + + .cm-navbar ul { + margin: 0px; + display: math; + } + + .c-main { + margin-left: 10%; + margin-right: 10%; + } + + .cm-main { + display: block; + } + + .cmm-content { + width: 100%; + } + + .cmm-sidebar { + width: 100%; + margin-left: -3%; + display: block; + } + + .a-nostyle { + display: contents; + } + + .cmmc-staff-container { + display: flex; + } + + .cmmc-staff-box { + max-width: 100%; + } + + + +}