SimpleTube/static/mainStyle.css

167 lines
2.6 KiB
CSS
Raw Normal View History

2023-10-28 19:08:28 -05:00
body, html {
min-height: 100vh;
2023-10-27 00:38:23 -05:00
padding: 0;
margin: 0;
background-color: rgb(40, 30, 50);
}
* {
color: white;
font-family: Verdana, Geneva, Tahoma, sans-serif;
2023-10-28 19:08:28 -05:00
line-height: 1.5rem;
2023-10-27 00:38:23 -05:00
}
2023-10-28 19:08:28 -05:00
/* div {
padding: 0 !important;
margin: 0 !important;
} */
a:not(h1 > a):not(.videoLink) {
font-size: 1.25rem;
2023-10-27 00:38:23 -05:00
background-color: black;
padding: 8px;
margin: 5px;
border: 2px white solid;
border-radius: 15px;
color: rgb(240, 220, 255);
text-decoration: none;
display: inline;
2023-10-27 00:38:23 -05:00
}
2023-10-28 19:08:28 -05:00
.videoLink {
text-decoration: none;
padding: 0;
margin: 0;
}
*:not(input) {
2023-10-27 00:38:23 -05:00
text-align: center;
}
#title {
padding: 10px;
}
#titleBar {
width: 100%;
2023-10-27 00:38:23 -05:00
background-color: rgb(5, 0, 10);
/* border: 0px; */
border: 2px transparent solid;
border-bottom-color: white;
position: sticky;
top: 0px;
2023-10-28 19:08:28 -05:00
margin: 0;
padding: 10px;
2023-10-27 00:38:23 -05:00
}
2023-10-28 19:08:28 -05:00
#titleBar > div > * {
display: inline-block;
padding: 0;
margin: 0;
}
#titleBar > div > form > input {
/* text-align: right; */
margin: auto;
padding: 5px;
width: 100%;
background-color: rgb(10, 5, 15);
border: 2px gray solid;
}
#titleBar > div {
padding: 0;
margin: 0;
2023-10-27 00:38:23 -05:00
}
2023-10-28 19:08:28 -05:00
#titleBar > div > form {
display: inline-block;
width: 100%;
}
#titleBar > div > h1 > a {
2023-10-27 00:38:23 -05:00
text-decoration: none;
2023-10-28 19:08:28 -05:00
color: white;
2023-10-27 00:38:23 -05:00
}
#description {
background-color: rgb(12, 10, 15);
padding: 10px;
border: 2px gray solid;
}
#videoPlayer {
margin: auto;
padding: 0;
object-fit: contain;
display: block;
/* height: 100%;
max-width: 100%; */
width: 100%;
aspect-ratio: 1.8/1;
max-height: 80vh;
/* height: 80vh; */
}
#videoContainer {
max-width: 100vw;
display: flex;
background-color: black;
}
p {
padding: 2px;
2023-10-28 19:08:28 -05:00
}
.videoResult {
background-color: black;
border: 2px gray solid;
border-radius: 10px;
padding: 3px;
margin: auto;
2023-10-28 19:08:28 -05:00
text-align: left;
height: 100%;
}
@media (max-width: 768px) {
.resultContainer {
max-width: 450px;
}
2023-10-28 19:08:28 -05:00
}
.resultContainer {
margin: 5px auto;
2023-10-28 19:08:28 -05:00
}
.thumbnail {
width: 100%;
margin: auto;
border-radius: 20px;
aspect-ratio: 16/9;
object-fit: cover;
border: 2px white solid;
margin: 5px auto;
}
.thumbparent {
justify-content: center;
align-items: center;
display: flex;
}
/* @media (max-width: 1200px) and (min-width: 992px) {
.resultDescription {
display: none;
}
} */
2023-10-28 19:08:28 -05:00
.minipfp {
width: 60px;
height: 60px;
border: 2px white solid;
border-radius: 50%;
padding: 0;
margin: 0;
display: inline-block;
2023-10-27 00:38:23 -05:00
}