Binternet/misc/style-dark.css
2024-01-24 15:12:08 -06:00

304 lines
No EOL
4.2 KiB
CSS

:root {
--accent-color:#12e8b9;
--fg-color: white;
--border-color: rgb(97, 97, 97);
--main: #2a2b2b;
--main-second: #1f2120;
}
body {
background-color: var(--main);
color: var(--fg-color);
font-family: verdana, arial, sans-serif;
overflow-x: hidden;
padding: 0;
margin: 0;
font-size: 16px;
}
input:focus {
border: 1px solid var(--border-color);
}
.accent{
color: var(--accent-color);
}
.centered {
position: absolute;
top: 40%;
left: 50%;
margin-right: -50%;
transform: translate(-50%, -50%);
}
.hide{
display: none;
}
#bodyHeader {
margin: 0;
}
.mainContainer p {
margin-bottom:30px;
margin-top: 5px;
}
.mainContainer h1 {
font-size: 50px;
}
.bodyText {
text-align: center;
}
.container {
text-align: center;
align-items: center;
justify-content: center;
}
footer {
display: flex;
align-items: center;
flex-wrap: wrap;
justify-content: center;
width: 100vw;
padding: 10px;
background-color: var(--main-second);
position: fixed;
bottom: 0;
}
footer a{
margin-right: 30px;
}
#footerText {
margin: 10px;
padding: 10px;
}
.sep:before {
content: "\f004 ";
}
a {
text-decoration: none;
color: var(--fg-color);
}
footer a:hover{
color: var(--accent-color);
}
#inputWrapper {
display: flex;
align-items: center;
text-align: center;
justify-content: center;
}
input {
width: 500px;
outline: none;
color: white;
background-color: var(--main-second);
border: 1px solid var(--main-second);
border-radius: 10px 0px 0px 10px;
padding: 15px;
font-size: inherit;
}
button {
padding: 15px;
color: var(--main-second);
background-color: var(--accent-color);
border: 0;
border-radius: 0px 10px 10px 0px;
cursor: pointer;
font-size: 15px;
font-weight: bold;
}
/* search css start */
.search-container{
display: flex;
align-items: center;
margin: 20px 20px 40px 20px;
}
.search-container h1{
margin: 0;
}
.search-container input{
border-radius: 10px;
margin-left: 100px;
}
.img-result img {
height: 100%;
width: 100%;
object-fit: cover;
border-radius: 0.2rem;
}
.img-container{
column-count: auto;
column-width: 14rem;
column-gap: 0.5rem;
padding: 1rem;
}
.img-result {
margin-bottom: 0.5rem;
display: block;
}
/* search css end */
/* donate css start */
.donate-container {
width: 700px;
margin-left: auto;
margin-right: auto;
margin-bottom: 100px;
}
.flexbox-column {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.inner-wrap {
width: 500px;
padding: 20px;
}
.qr-box {
background-color: var(--main-second);
border: 1px solid var(--border-color);
border-radius: 10px 0px 0px 10px;
width: 100%;
display: flex;
word-wrap: break-word;
align-items: center;
justify-content: space-between;
}
.flex-row {
width: 700px;
height: auto;
display: flex;
flex-direction: row;
justify-content: space-evenly;
margin: 25px 0;
}
hr.small-line {
border: 2px solid var(--fg-color);
height: 0px;
width: 100px;
margin: 30px;
border-radius: 2px;
}
/* donate css end */
@media only screen and (max-width: 750px) {
body{
font-size: 14px;
}
.mainContainer h1 {
font-size: 35px;
}
input{
width: 100%;
}
.centered {
width: 95%;
}
.search-container{
display: flex;
flex-direction: column;
align-items: center;
}
.search-container input {
width: 95%;
margin-top: 20px;
margin-left: 0;
}
/* dontate css start*/
.donate-container {
margin-bottom: 100px;
width: 95%;
text-align: center;
}
.qr-box {
display: flex;
flex-direction: column;
word-wrap: break-word;
align-items: center;
justify-content: space-between;
word-wrap: break-word;
height: auto;
}
.qr-box {
border-radius: 10px;
flex-direction: column;
align-items: center;
}
.inner-wrap {
width: 80%;
text-align: center;
}
.qr-box img {
width: 40%;
height: auto;
padding: 20px;
}
.flex-row {
flex-direction: column;
gap: 5px;
width: 0;
}
.flex-row a img {
width: 220px;
height: auto;
}
/* donate css end */
}