summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2021-06-27 22:39:45 +0200
committerGitHub <noreply@github.com>2021-06-27 22:39:45 +0200
commit67a18dcff6b8176d7990bd6de89a3a4d864c2489 (patch)
tree05a3b268bf87cf1de350f21535597de54e9c8a23 /assets
parent135ae11c201d12ee2fa1e1035976026570dfd96b (diff)
parentcfcb64c5164816e27496366e0f6fb489dfaa6932 (diff)
downloadinvidious-67a18dcff6b8176d7990bd6de89a3a4d864c2489.tar.gz
invidious-67a18dcff6b8176d7990bd6de89a3a4d864c2489.tar.bz2
invidious-67a18dcff6b8176d7990bd6de89a3a4d864c2489.zip
Merge pull request #2196 from ahangarha/patch-1
Add bi-directional text support
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css39
1 files changed, 33 insertions, 6 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 1d62bc01..06a2f07f 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -282,6 +282,21 @@ input[type="search"]::-webkit-search-cancel-button {
}
}
+
+/*
+ * Video "cards" (results/playlist/channel videos)
+ */
+
+.video-card-row { margin: 15px 0; }
+
+.flexible { display: flex; }
+.flex-left { flex: 1 1 100%; flex-wrap: wrap; }
+.flex-right { flex: 1 0 max-content; flex-wrap: nowrap; }
+
+p.channel-name { margin: 0; }
+p.video-data { margin: 0; font-weight: bold; font-size: 80%; }
+
+
/*
* Footer
*/
@@ -492,11 +507,6 @@ hr {
}
/* Description Expansion Styling*/
-#description-box {
- display: flex;
- flex-direction: column;
-}
-
#descexpansionbutton {
display: none
}
@@ -511,7 +521,24 @@ hr {
height: 100%;
}
-#descexpansionbutton + label {
+#descexpansionbutton ~ label {
order: 1;
margin-top: 20px;
}
+
+/* Bidi (bidirectional text) support */
+h1,
+h2,
+h3,
+h4,
+h5,
+p,
+#descriptionWrapper,
+#description-box {
+ unicode-bidi: plaintext;
+ text-align: start;
+}
+
+#descriptionWrapper {
+ max-width: 600px;
+}