From 3b06ee0d381dc1be5f40ca98ad4278046d869d21 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 17 Nov 2019 20:57:39 +0100 Subject: checked in initial customized verison for Archlinux32 --- style/ArchLinux/archnavbar.css | 76 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 style/ArchLinux/archnavbar.css (limited to 'style/ArchLinux/archnavbar.css') 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; + } +} -- cgit v1.2.3-54-g00ecf