summaryrefslogtreecommitdiff
path: root/static/theme.css
diff options
context:
space:
mode:
authorJames Mills <prologic@shortcircuit.net.au>2020-03-25 23:02:04 +1000
committerJames Mills <prologic@shortcircuit.net.au>2020-03-25 23:02:14 +1000
commitbcd79ba2c55de3202f1e9b4b9b6070b36cfdb7db (patch)
tree13e63cbea825dcb941ed801d05aa524dcf5684ce /static/theme.css
parentaf07f1aaa96184f4ac74762cb9668ad06da0796f (diff)
Refactor UX of Trending vs. Recent video sorting
Diffstat (limited to 'static/theme.css')
-rw-r--r--static/theme.css62
1 files changed, 62 insertions, 0 deletions
diff --git a/static/theme.css b/static/theme.css
index b0e5da2..bdafeea 100644
--- a/static/theme.css
+++ b/static/theme.css
@@ -400,3 +400,65 @@ label span input {
transform: translate(24px, 0);
}
}
+
+.nav ul {
+ list-style: none;
+ background-color: #444;
+ text-align: center;
+ padding: 0;
+ margin: 0;
+}
+.nav li {
+ font-family: 'Oswald', sans-serif;
+ font-size: 1.2em;
+ line-height: 40px;
+ height: 40px;
+ border-bottom: 1px solid #888;
+}
+
+.nav a {
+ text-decoration: none;
+ color: #fff;
+ display: block;
+ transition: .3s background-color;
+}
+
+.nav a:hover {
+ background-color: #005f5f;
+}
+
+.nav a.active {
+ background-color: #fff;
+ color: #444;
+ cursor: default;
+}
+
+@media screen and (min-width: 600px) {
+ .nav li {
+ width: 120px;
+ border-bottom: none;
+ height: 50px;
+ line-height: 50px;
+ font-size: 1.4em;
+ }
+
+ /* Option 1 - Display Inline */
+ .nav li {
+ display: inline-block;
+ margin-right: -4px;
+ }
+
+ /* Options 2 - Float
+ .nav li {
+ float: left;
+ }
+ .nav ul {
+ overflow: auto;
+ width: 600px;
+ margin: 0 auto;
+ }
+ .nav {
+ background-color: #444;
+ }
+ */
+}