html, body {
padding: 0;
margin: 0;
font-family: sans-serif;
line-height: 1.15;
height: 100%;
}
header {
background-color: #87B650;
color: #ffffff;
padding: 0.5em;
display: flex;
align-items: center;
}
header nav {
justify-content: flex-end !important;
display: flex !important;
flex-grow: 1;
}
header a {
color: #ffffff;
text-decoration: none;
margin: 0 0.5em;
}
header a:hover {
text-decoration: underline;
}
#logo {
margin-left: 0.5em;
}
article {
padding: 0.5em;
display: flex;
flex-direction: column;
align-items: stretch;
min-height: calc(100% - 64px - 32px - 0.5em * 6);
}
footer {
background-color: #9c9c9c;
color: #ffffff;
height: 32px;
padding: 0.5em;
display: flex;
justify-content: center;
align-items: center;
}
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1.25em;
}
h3 {
font-size: 1.1em;
}
.form-item {
margin-bottom: 1em;
}
.form-item > label {
display: inline-block;
margin-bottom: .3rem;
}
.form-control, .form-select {
display: block;
width: 100%;
font-size: 1rem;
line-height: 1.5;
color: #212529;
background-color: #fff;
border: 1px solid #ced4da;
border-radius: .375em;
padding: .375rem .75rem;
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-select {
padding: .375rem 2.25rem .375rem .75rem;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right .75rem center;
background-size: 16px 12px;
appearance: none;
}
button:not(:disabled) {
cursor: pointer;
}
.btn {
display: inline-block;
font-size: 1rem;
line-height: 1.5;
text-align: center;
text-decoration: none;
vertical-align: middle;
color: #fff;
border-radius: .375em;
border: 1px solid #336fab;
padding: .375rem .75rem;
background-color: #336fab;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
appearance: none;
}
.login{
display: inline-flex;
font-size: 1rem;
color: black;
border-radius: .5em;
border: 1px solid #d9d9d9;
padding: .375rem .75rem;
}
.back {
border: 2px solid #ffa367;
border-radius: 50%;
padding: 10px;
width: 40px;
background-color: #ffa367;
background-origin:content-box;
}
.user {
font-size: 1rem;
width: 40px;
border-radius: 50%;
border: 1px solid #ffa367;
background-color: #ffa367;
padding: 10px;
background-origin: content-box;
}
.left-blank
{
height: 60%;
width: 20%;
top: 20%;
overflow: auto;
position: fixed;
float:left;
background-color: #ffa367;
}
.right-blank
{
width: 80%;
left:22%;
right:2%;
overflow: auto;
float: right;
display: flex;
}
.subscribed
{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
position: relative;
top:16%;
bottom: 16%;
left: 5%;
width: 85%;
font-size: 1rem;
line-height: 1.5;
text-align: center;
vertical-align: middle;
color: #fff;
border-radius: .5em;
border: 1px solid #F45546;
padding: .375rem .75rem;
background-color: #F45546;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
appearance: none;
}
.subscribed_text
{
position: relative;
}
.vid_cont
{
display: grid;
grid-template-columns: repeat(auto-fit, auto);
grid-gap: 20px;
justify-content: space-between;
resize: horizontal;
overflow: hidden;
}
.vid
{
width: 30%;
height: 30%;
}
.rows
{
display: flex;
flex-direction: row;
}
.columns
{
display: flex;
flex-direction: column;
}
.images
{
justify-content: space-around;
}
@media (max-width: 2000px) {
.images
{
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.vid
{
width: 30%;
height: 30%;
}
}
@media (max-width: 1000px) {
.images
{
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.vid
{
width: 50%;
height: 50%;
}
}
.mobdel
{
display: flex;
flex-direction: column;
}
@media (max-width: 768px) {
.images
{
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.vid
{
width: 100%;
height: 100%;
}
.mobdel
{
display: none;
}
.right-blank
{
width: 100%;
overflow: auto;
display: flex;
}
}
/* Тут код на окно регистрации/логина/восстановления */
.orange
{
background-color: #FFA367;
}
@media (max-width: 500px) {
.register-table
{
height: 70%;
width:70%;
top: 10%;
left: 20%;
overflow: auto;
position: fixed;
background-color: #87B650;
}
.register-table-text
{
margin-top: 2%;
margin-left: 1%;
width: 60%;
color: white;
position: fixed;
}
.register-table-column
{
top:30%;
display: flex;
flex-direction: column;
}
.register-table-button
{
width: 60%;
top:60%;
position: fixed;
}
.register-table-input1
{
top: 15%;
width: 60%;
position: fixed;
}
.register-table-input2
{
top: 25%;
width: 60%;
position: fixed;
}
.register-table-input3
{
top: 35%;
width: 60%;
position: fixed;
}
.register-table-input4
{
top: 45%;
width: 60%;
position: fixed;
}
}
@media (min-width: 500px) {
.register-table
{
height: 400px;
width: 300px;
top:10%;
left: 35%;
overflow: auto;
display: flex;
position: fixed;
background-color: #87B650;
}
.register-table-text
{
margin-top: 30px;
margin-left: 35px;
color: white;
position: fixed;
}
.register-table-column
{
top:30%;
display: flex;
flex-direction: column;
}
.register-table-button
{
width: 277px;
margin-top:300px;
position: fixed;
}
.register-table-input1
{
margin-top: 100px;
width: 277px;
position: fixed;
}
.register-table-input2
{
margin-top: 150px;
width: 277px;
position: fixed;
}
.register-table-input3
{
margin-top: 200px;
width: 277px;
position: fixed;
}
.register-table-input4
{
margin-top: 250px;
width: 277px;
position: fixed;
}
}
.reg_button{
display: inline-flex;
font-size: 1rem;
color: black;
border-radius: .5em;
border: 1px solid #d9d9d9;
padding: .375rem .75rem;
width: 80%;
margin-top: 10px;
}
/*Главный вид канала*/
.chanel
{
width: 100%;
background-color: #87B650;
overflow: auto;
display: flex;
}
@media (max-width: 768px) {
.chanel-user {
margin: 40px 0 0 5%;
font-size: 1rem;
height: 50px;
width:80px;
border-radius: 50%;
border: 1px solid #ffa367;
background-color: #ffa367;
padding: 10px;
background-origin: content-box;
}
.chanel-text
{
margin: 40px 0 0 5%;
width: 80%;
height: 100%;
font-size: 20px;
color: white;
}
.chanel-subscribe
{
display: flex;
flex-wrap: wrap;
justify-content: space-around;
position: relative;
margin: 30px 20px 0 auto;
height: 50px;
text-align: center;
vertical-align: middle;
color: #fff;
border-radius: .5em;
border: 1px solid #F45546;
padding: .375rem .75rem;
background-color: #F45546;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
appearance: none;
}
}
@media (min-width: 768px) {
.chanel-user {
top:10%;
margin: 20px 20px 20px 20px;
font-size: 1rem;
height: 70px;
width:95px;
border-radius: 50%;
border: 1px solid #ffa367;
background-color: #ffa367;
padding: 10px;
background-origin: content-box;
}
.chanel-text
{
margin: 40px 0 0 100px;
width: 100%;
height: 100%;
font-size: 40px;
color: white;
}
.chanel-subscribe {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
position: relative;
margin: 40px 20px 10px auto;
height: 30%;
text-align: center;
vertical-align: middle;
color: #fff;
border-radius: .5em;
border: 1px solid #F45546;
padding: .375rem .75rem;
background-color: #F45546;
transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
appearance: none;
}
.vid
{
margin: auto auto auto auto;
}
}
/*Видеоплеер*/
@media (min-width: 768px) {
.vid-text-big
{
margin: 5px 0 0 8%;
width: 90%;
word-break: break-word;
font-size: 35px;
color: black;
}
.vid-text-small
{
margin: 10px 0 0 8%;
width: 70%;
word-break: break-word;
}
.vid-player
{
margin: 30px 0 0 8%;
}
.vid-column
{
width: 100%;
}
.vid-worker-small
{
display: none;
}
.vid-worker-big
{
display: flex;
}
.vid-row
{
display: flex;
flex-direction: row;
margin: 10px 0 0 10px;
}
.vid-search-text-big
{
margin: 0 0 0 5%;
font-size: 27px;
width: 95%;
word-break: break-word;
text-align:justify;
}
.vid-search-text-small
{
margin: 5% 0 0 5%;
font-size: 20px;
width: 95%;
word-break: break-word;
text-align:justify;
}
}
@media (max-width: 768px) {
.vid-text-big
{
margin: 5px 0 0 5%;
width: 100%;
word-break: break-word;
font-size: 35px;
color: black;
}
.vid-text-small
{
margin: 10px 0 0 5%;
width: 70%;
word-break: break-word;
}
.vid-player
{
margin: 30px 0 0 5%;
width: 90%;
}
.vid-column
{
width: 100%;
}
.vid-worker-small
{
display: flex;
}
.vid-worker-big
{
display: none;
}
.vid-row {
display: flex;
flex-direction: row;
margin: 10px 0 0 10px;
}
.vid-search-text-big
{
margin: 0 0 0 5%;
font-size: 15px;
width: 95%;
word-break: break-word;
text-align:justify;
}
.vid-search-text-small
{
margin: 5% 0 0 5%;
font-size: 12px;
width: 95%;
word-break: break-word;
text-align:justify;
}
}