:root { --dark-accent-color: #5C6BC0; --dark-bg-color: black; --dark-alt-bg-color: #5c6bc0; --dark-cont-bg-color: transparent; --dark-header-bg-color: #121212; --dark-text-color: #eeeeee; --dark-btn-color: #303f9f; --dark-link-color: #5C6BC0; --dark-shadow-color: #1a1a1a; } body { min-height: 100%; font-family: "Noto Sans", "Liberation Sans","Trebuchet MS", Arial, Helvetica, sans-serif; margin: 0; --accent-color: #1A237E; --cont-bg-color: white; --alt-bg-color: #283593; --bg-color: #f6f5f4; --header-bg-color: white; --text-color: black; --btn-color: #303f9f; --link-color: #3949AB; --shadow-color: rgba(0,0,0,.15); background-color: var(--bg-color); color: var(--text-color); } header{ align-self: start; padding: 0.5rem; } a { color: var(--link-color); } .header-list{ width: fit-content; width: -moz-fit-content; padding: 0.5rem; background-color: var(--header-bg-color); border-radius: 1rem; align-items: center; justify-content: center; margin: auto; min-height: 2rem; display: flex; flex-wrap: wrap; list-style: none; gap: 1rem; } .tab-button{ padding: 0.5rem 1rem; border-radius: .25rem; text-decoration: underline; font-weight: 600; transition: 0.15s; color: var(--text-accent-color); } .tab-button.active{ color: #fff; background-color: var(--btn-color); } .tab-button:focus { transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; outline: none; box-shadow: 0 0 2px 2px var(--accent-color), 0 .5rem 1rem rgba(0,0,0,.15) !important; } .tab-button:hover { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); background-color: var(--btn-color); box-shadow: 0 0 2px 2px var(--accent-color), 0 .5rem 1rem rgba(0,0,0,.15) !important; color: white; } /* Container for main content */ .cont { margin: auto; min-width: 20%; background: var(--cont-bg-color); border-radius: 1rem; grid-area: main; } .service-list { padding: 0; display: flex; flex-wrap: wrap; justify-content: center; list-style: none; gap: 1rem; } .service-list li { margin: 0.1rem; background-size: contain; background-position: center; background-repeat: no-repeat; width: 10rem; height: 8rem; } .service-list li a:focus { transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; box-shadow: 0 0 2px 2px var(--accent-color), 0 .5rem 1rem var(--shadow-color) !important; } .service-list li a:hover { transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; box-shadow: 0 0 2px 2px var(--accent-color), 0 .5rem 1rem var(--shadow-color) !important; } .service-list li a { font-size: 1.5rem; color: var(--text-color); text-decoration: none; display: block; width: 100%; height: 100%; text-align: center; vertical-align:middle; display: flex; flex-flow: column; align-items: center; justify-content: center; border: thin solid #3c4043; border-radius: 0.5rem; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .service-list li a div { vertical-align: middle; } .center-txt{ text-align: center; } #li-nextcloud { background-image: url(/img/icons/Nextcloud_Logo.svg); } #li-matrix { background-image: url(/img/icons/Matrix_Logo.svg); } @media screen and (max-width:600px){ .cont { max-width: 100%; width: calc(100% - 0.5rem); padding: 0.25rem; } } @media only screen and (max-width:800px){ .cont { max-width: 90%; } } @media only screen and (min-width:800px){ .cont { max-width: 80%; } } @media only screen and (min-width:1000px){ .cont { padding: 1rem; width: max-content; max-width: 50%; } } @media only screen and (min-width:1300px){ html { font-size: 18px; } } @media only screen and (min-width:2000px){ html { font-size: 20px; } .cont { max-width: 40%; } } @media (prefers-color-scheme: dark) { body.theme-auto { --bg-color: var(--dark-bg-color); --alt-bg-color: var(--dark-alt-bg-color); --cont-bg-color: var(--dark-cont-bg-color); --header-bg-color: var(--dark-header-bg-color); --text-color: var(--dark-text-color); --btn-color: var(--dark-btn-color); --accent-color: var(--dark-accent-color); --link-color: var(--dark-link-color); --shadow-color: var(--dark-shadow-color); } #li-nextcloud { } #li-matrix { filter: invert(); } }