32bit.cafe/static/css/themes/tweek.css

220 lines
3.3 KiB
CSS

/*
* Name: tweek
* Author: jess
* Website: https://tangotrail.neocities.org
*/
{
box-sizing: border-box;
}
/* imgur img link is temporary placement. feel free to use the background image as a file on your site
-----------
this goes the same way for any other img urls from imgur within this whole code of the css file
*/
body {
margin: 0;
background-image: url('https://i.imgur.com/29yku5l.gif');
color: #d1e3d1;
}
.header {
padding: 10px;
width: 12%;
white-space: nowrap;
vertical-align: middle;
}
.rev:hover {
color: #419bff;
transition: 15s;
}
.topnav {
overflow: hidden;
display: flex;
width: 80%;
}
p a {
color: #216cc5;
}
.topnav a {
float: left;
display: block;
}
.topnav a:hover {
background-image: url('https://i.imgur.com/DW1k6bL.gif');
color: #f4e4e4;
border-radius: 22%;
}
.column {
float: left;
}
.sidebar {
padding: 10px;
}
.sidebar ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.sidebar ul a {
color: #9b6e6a;
background: #6d5c5c2e;
border: #f200002b 1px solid;
}
.sidebar ul a:hover {
color: #8c6f5f;
background: transparent;
}
.sidebar li {
display: block;
padding: 5px;
}
.main {
padding: 10px;
}
.row {
display: flex;
flex-wrap: wrap;
}
.row:after {
content: "";
display: table;
clear: both;
}
.footer {
background-image: url('https://i.imgur.com/YjkqaoD.png');
text-align: center;
padding: 10px;
width: 100%;
}
.footer-text {
font-size: 8.5pt;
}
@media screen and (max-width: 699px) {
.column.sidebar, .column.main {
width: 100%;
}
.header, .topnav {
width: 100%;
}
.topnav {
flex-direction: column;
padding: 5px;
}
.topnav a {
display: block;
padding: 5px;
}
.header h1 {
float: left;
}
.header button {
float: right;
}
.footer {
width: 100%;
}
}
@media screen and (min-width: 700px) and (max-width: 950px) {
.container {
padding: 5px;
}
.column.sidebar, .column.main {
width: 100%;
}
.header, .topnav {
width: 100%;
}
.column.main {
width: 75%;
}
.topnav {
flex-direction: column;
padding: 5px;
}
.topnav a {
display: block;
padding: 5px;
}
.header h1 {
float: left;
}
.header button {
float: right;
}
}
@media screen and (min-width: 950px) {
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 75vw;
}
.column.sidebar {
width: 15vw;
}
.column.main {
width: 56.5vw;
overflow-y: auto;
overflow-x: hidden;
max-height: 65vh;
}
.header {
width: 15vw;
height: 10vh;
}
.header h1 {
font-size: 1.5vw;
position: relative;
top: 1.5vh;
max-height: 10vh;
}
.header h1 a {
color: #616d5c75;
}
.header h1 a:hover {
color: #818570f5;
}
.topnav {
overflow-x: auto;
overflow-y: hidden;
}
.topnav a {
position: relative;
top: 3vh;
color: #c8f345;
border: 2px solid #000;
border-radius: 20px;
text-align: center;
padding: 14px 16px;
text-decoration: none;
margin: 5px;
background-image: url('https://i.imgur.com/B6MPUWI.png');
font-size: 1.1vw;
}
.mobile-only {
display: none;
}
.footer {
width: /*71.5vw;*/100%;
}
}
.rev { unicode-bidi: bidi-override; direction: rtl; }
.obem { position: absolute; display:inline-block; z-index: -1; width: 0px; height: 0px; overflow: hidden;
}
}