summaryrefslogtreecommitdiff
path: root/style/ArchLinux/archnavbar.css
diff options
context:
space:
mode:
Diffstat (limited to 'style/ArchLinux/archnavbar.css')
-rw-r--r--style/ArchLinux/archnavbar.css76
1 files changed, 76 insertions, 0 deletions
diff --git a/style/ArchLinux/archnavbar.css b/style/ArchLinux/archnavbar.css
new file mode 100644
index 0000000..df460b6
--- /dev/null
+++ b/style/ArchLinux/archnavbar.css
@@ -0,0 +1,76 @@
+/*
+ * ARCH GLOBAL NAVBAR
+ *
+ * We're forcing all generic selectors with !important
+ * to help prevent other stylesheets from interfering.
+ *
+ */
+
+/* container for the entire bar */
+#archnavbar { height: 40px !important; padding: 10px 15px !important; background: #333 !important; border-bottom: 5px #08c solid !important; }
+
+#archnavbarlogo { float: left !important; margin: 0 !important; padding: 0 !important; height: 40px !important; width: 190px !important; }
+html > body #archnavbarlogo { background: url('archlogo.svg') no-repeat !important; background-size: 190px 40px !important;}
+
+/* move the heading/paragraph text offscreen */
+#archnavbarlogo p { margin: 0 !important; padding: 0 !important; text-indent: -9999px !important; }
+#archnavbarlogo h1 { margin: 0 !important; padding: 0 !important; text-indent: -9999px !important; }
+
+/* make the link the same size as the logo */
+#archnavbarlogo a { display: block !important; height: 40px !important; width: 190px !important; }
+
+/* display the list inline, float it to the right and style it */
+#archnavbar ul { display: inline !important; float: right !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
+#archnavbar ul li { float: left !important; font-size: 14px !important; font-family: sans-serif !important; line-height: 45px !important; padding-right: 15px !important; padding-left: 15px !important; }
+
+/* style the links */
+#archnavbar ul#archnavbarlist li a { color: #999; font-weight: bold !important; text-decoration: none !important; }
+#archnavbar ul li a:hover { color: white !important; text-decoration: underline !important; }
+
+@media (max-width: 680px) {
+ #anb-forum,
+ #anb-forums {
+ display: none;
+ }
+
+ html > body #archnavbarlogo {
+ width: 40px !important;
+ margin-right: 5px !important;
+ background: url('archicon.svg') no-repeat !important;
+ background-size: 40px 40px !important;
+ }
+
+ #archnavbar ul {
+ display: flex !important;
+ justify-content: space-between;
+ flex-wrap: nowrap;
+ overflow: hidden;
+ float: none !important;
+ }
+
+ #archnavbar ul li {
+ padding: 0 !important;
+ float: none !important;
+ }
+}
+
+@media (max-width: 830px) {
+ #anb-home,
+ #anb-start {
+ display: none;
+ }
+
+ html > body #archnavbarlogo {
+ padding-right: 15px !important;
+ }
+
+ #archnavbar {
+ padding-left: 5px !important;
+ padding-right: 5px !important;
+ }
+
+ #archnavbar ul li {
+ padding-left: 5px !important;
+ padding-right: 5px !important;
+ }
+}