mirror of https://github.com/Chocobozzz/PeerTube
Media queries to use variables when possible
parent
9677fca772
commit
ece3029bd9
|
@ -58,7 +58,7 @@
|
|||
margin: 20px 0 50px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
@media screen and (max-width: $small-view) {
|
||||
.video-channels-header {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
@media screen and (max-width: $small-view) {
|
||||
.video-playlists-header {
|
||||
text-align: center;
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
@media screen and (max-width: $mobile-view) {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
@media screen and (max-width: $mobile-view) {
|
||||
width: 70px;
|
||||
|
||||
.peertube-title {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
@import '_variables';
|
||||
@import '_mixins';
|
||||
|
||||
.cfp-hotkeys-container {
|
||||
|
@ -93,7 +94,7 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media all and (max-width: 500px) {
|
||||
@media all and (max-width: $mobile-view) {
|
||||
.cfp-hotkeys {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
|
|
@ -167,7 +167,7 @@ label {
|
|||
color: var(--mainForegroundColor);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
@media screen and (max-width: $mobile-view) {
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -240,7 +240,7 @@ $play-overlay-width: 18px;
|
|||
width: $video-miniature-width * 2;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 500px) {
|
||||
@media screen and (max-width: $mobile-view) {
|
||||
width: auto;
|
||||
margin: 0 !important;
|
||||
|
||||
|
|
Loading…
Reference in New Issue