135 lines
3.2 KiB
CSS
135 lines
3.2 KiB
CSS
: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
|
|
}
|
|
|
|
body {
|
|
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;
|
|
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
}
|
|
header{
|
|
padding: 0.5rem;
|
|
}
|
|
.header-list{
|
|
width: 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;
|
|
|
|
}
|
|
|
|
|
|
/* Container for main content */
|
|
.cont {
|
|
margin: auto;
|
|
background: var(--cont-bg-color);
|
|
border-radius: 1rem;
|
|
}
|
|
|
|
.service-list {
|
|
padding: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
list-style: none;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.service-list li {
|
|
background-size: contain;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
width: 10rem;
|
|
height: 8rem;
|
|
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: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 rgba(0,0,0,.15) !important;
|
|
|
|
}
|
|
|
|
|
|
.service-list li a {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-align: center;
|
|
vertical-align:middle;
|
|
}
|
|
|
|
#li-nextcloud { background-image: url(./icons/Nextcloud_Logo.svg); }
|
|
#li-matrix { background-image: url(./icons/Matrix_Logo.svg); }
|
|
|
|
@media only screen and (min-width:1000px){
|
|
.cont {
|
|
width: max-content;
|
|
padding: 1rem;
|
|
}
|
|
}
|
|
|
|
@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);
|
|
}
|
|
#li-nextcloud { }
|
|
#li-matrix { filter: invert(); }
|
|
|
|
}
|