This commit is contained in:
2024-07-30 11:37:38 +02:00
parent da70eef561
commit 6932d908b2
8 changed files with 175 additions and 106 deletions

68
css/index.css Normal file
View File

@ -0,0 +1,68 @@
#main {
display: flex;
flex-flow: column;
width: 100%;
text-align: center;
}
@media screen and (min-width: 360px) {
#main {
margin: auto;
width: 360px;
}
}
#about img {
width: 100%;
height: auto;
}
#search {
display: flex;
flex-direction: column;
align-items: center;
}
#search > * {
margin: 0.25rem;
}
.search-inputs {
width: 100%;
height: 2rem;
display: flex;
}
.search-inputs > * {
height: 100%;
}
.search-inputs input[name="query"] {
width: 100%;
box-sizing: border-box;
}
.search-radio-buttons {
display: flex;
flex-wrap: wrap;
}
.search-radio-buttons > .category {
display: flex;
}
.search-radio-buttons > .category:not(:last-child) {
margin-right: 1rem;
}
.search-radio-buttons > .category > input[type="radio"] {
margin: 0;
margin-right: 0.25rem;
}
#status {
font-size: smaller;
}

43
css/theme.css Normal file
View File

@ -0,0 +1,43 @@
:root {
--primary-color: #bc5151;
}
body {
background: url('https://www.tromsite.com/wp-content/uploads/2018/09/tromsite-bg-pattern-light-5.png');
background-repeat: repeat;
background-attachment: fixed;
font-family: sans-serif;
}
a {
color: var(--primary-color);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.search-inputs input[name="query"] {
border: 1px solid darkgrey;
border-radius: 0.5rem 0 0 0.5rem;
}
.search-inputs input[type="submit"] {
background-color: var(--primary-color);
color: white;
cursor: pointer;
border: none;
border-radius: 0 0.5rem 0.5rem 0;
}
.search-radio-buttons input[type="radio"] {
accent-color: var(--primary-color);
}
#status {
color: gray;
}