67 lines
1.1 KiB
CSS
67 lines
1.1 KiB
CSS
/*
|
|
* startpage.css
|
|
* Copyright (C) 2018 salt
|
|
*
|
|
* Distributed under terms of the MIT license.
|
|
*/
|
|
|
|
/* GLOBALS */
|
|
|
|
h3 {
|
|
font-size: 70%;
|
|
letter-spacing: 1em;
|
|
margin: auto;
|
|
padding-top: 2em 0 1em 0;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
h4 {
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
|
|
/* SEARCH BAR */
|
|
|
|
.search-form {
|
|
margin: auto;
|
|
max-width: 32em;
|
|
padding: 2em;
|
|
text-align: center;
|
|
}
|
|
.search-input {
|
|
border: none;
|
|
border-bottom: 1px solid var(--link);
|
|
color: var(--text-color);
|
|
font-size: 16px;
|
|
font-family: var(--font);
|
|
padding: 0.25em;
|
|
transition: .08s ease-in;
|
|
width: 100%;
|
|
}
|
|
.search-input:hover,
|
|
.search-input:focus {
|
|
border-bottom: 1px solid var(--link-hover);
|
|
}
|
|
|
|
/* SECTIONS */
|
|
|
|
div.spsection{
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
grid-template-rows: auto auto auto auto auto;
|
|
margin: 1em;
|
|
}
|
|
div.spsubsection a {
|
|
background: var(--background-bright);
|
|
border-radius: 8px;
|
|
box-shadow: 5px 5px var(--shadow);
|
|
display: block;
|
|
margin: 0.25em;
|
|
padding: 0.5em;
|
|
text-align: center;
|
|
}
|
|
div.spsubsection a:hover {
|
|
background: var(--link-hover);
|
|
color: var(--background);
|
|
}
|