From 6b2d215247b8382e51ed24d96619123a13440464 Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 14 Nov 2022 17:31:44 +0100 Subject: [PATCH] add responsive stuff to another file --- css/poketube-responsive.css | 217 ++++++++++++++++++++++++++++++++++++ 1 file changed, 217 insertions(+) create mode 100644 css/poketube-responsive.css diff --git a/css/poketube-responsive.css b/css/poketube-responsive.css new file mode 100644 index 00000000..3b762cf5 --- /dev/null +++ b/css/poketube-responsive.css @@ -0,0 +1,217 @@ +/* + + This Source Code Form is subject to the terms of the GNU General Public License: + + Copyright (C) 2021-202x POKETUBE (https://github.com/iamashley0/poketube) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see https://www.gnu.org/licenses/. + +*/ + +/* RESPONSIVE STUFF */ + +/* Formula for xx50px - inital widht + 3em */ +@media screen and (min-width: 1100px) { + .video-info-panel.gradient { + width: 41em; + } +} + +@media screen and (min-width: 1200px) { + .video-info-panel.gradient { + width: 48em; + } +} + +@media screen and (min-width: 1300px) { + .video-info-panel.gradient { + width: 54em; + } +} + +@media screen and (min-width: 1350px) { + .video-info-panel.gradient { + width: 57em; + } +} + +@media screen and (min-width: 1400px) { + .video-info-panel.gradient { + width: 60em; + } +} + +@media screen and (min-width: 1450px) { + .video-info-panel.gradient { + width: 63em; + } +} + +@media screen and (min-width: 1500px) { + .video-info-panel.gradient { + width: 66em; + } +} + +@media screen and (min-width: 1550px) { + .video-info-panel.gradient { + width: 69em; /* Noice */ + } +} + +@media screen and (min-width: 1600px) { + .video-info-panel.gradient { + width: 73em; + } +} + +@media screen and (min-width: 1650px) { + .video-info-panel.gradient { + width: 75em; + } +} + +@media screen and (min-width: 1700px) { + .video-info-panel.gradient { + width: 78em; + } +} + +@media screen and (min-width: 1750px) { + .video-info-panel.gradient { + width: 81em; + } +} + +@media screen and (min-width: 1800px) { + .video-info-panel.gradient { + width: 85em; + } +} + +@media screen and (min-width: 1850px) { + .video-info-panel.gradient { + width: 88em; + } +} + +@media screen and (min-width: 1900px) { + .video-info-panel.gradient { + width: 91em; + } +} + +@media screen and (min-width: 1950px) { + .video-info-panel.gradient { + width: 94em; + } +} + +@media screen and (min-width: 2000px) { + .video-info-panel.gradient { + width: 97em; + } +} + +@media screen and (min-width: 2050px) { + .video-info-panel.gradient { + width: 100em; + } +} + +@media screen and (min-width: 2100px) { + .video-info-panel.gradient { + width: 103em; + } +} + +@media screen and (min-width: 2150px) { + .video-info-panel.gradient { + width: 106em; + } +} + +@media screen and (min-width: 2200px) { + .video-info-panel.gradient { + width: 109em; + } +} + +@media screen and (min-width: 2250px) { + .video-info-panel.gradient { + width: 112em; + } +} + +@media screen and (min-width: 2300px) { + .video-info-panel.gradient { + width: 115em; + } +} + +@media screen and (min-width: 2350px) { + .video-info-panel.gradient { + width: 118em; + } +} + +@media screen and (min-width: 2400px) { + .video-info-panel.gradient { + width: 121em; + } +} + +@media screen and (min-width: 2450px) { + .video-info-panel.gradient { + width: 125em; + } +} + +@media screen and (min-width: 2500px) { + .video-info-panel.gradient { + width: 128em; + } +} + +@media screen and (min-width: 2550px) { + .video-info-panel.gradient { + width: 131em; + } +} + +@media screen and (min-width: 2600px) { + .video-info-panel.gradient { + width: 134em; + } +} + +@media screen and (min-width: 2650px) { + .video-info-panel.gradient { + width: 137em; + } +} + +@media screen and (min-width: 2700px) { + .video-info-panel.gradient { + width: 140em; + } +} + +@media screen and (min-width: 2750px) { + .video-info-panel.gradient { + width: 143em; + } +} + +/* RESPONSIVE END */