Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added sitestatic/archnavbar/uwu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 11 additions & 2 deletions sitestatic/archweb.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,20 @@
}
}

#archnavbarlogo.uwu {
float: none !important;
background: url('archnavbar/uwu.png') no-repeat !important;
height: 300px !important;
width: 500px !important;
margin: 10px auto 30px !important;
filter: drop-shadow(30px 10px 15px #333) !important;
}

/* move the heading text offscreen */
#archnavbarlogo h1 { margin: 0 !important; padding: 0 !important; text-indent: -9999px !important; }
#archnavbarlogo h1 { margin: 0 !important; padding: 0 !important; height: 100% !important; width: 100% !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; }
#archnavbarlogo a { display: block !important; height: 100% !important; width: 100% !important; }

/* display the list inline, float it to the right and style it */
#archnavbarlist { display: block !important; list-style: none !important; margin: 0 !important; padding: 0 !important; font-size: 0px !important; text-align: right !important; }
Expand Down
7 changes: 6 additions & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
</head>
<body class="{% if user.is_authenticated %}devmode {% endif %}{% block bodyclass %}{% endblock %}">
<div id="archnavbar" class="{% block navbarclass %}anb-home{% endblock %}">
<div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux</a></h1></div>
{% if not request.GET.uwu %}
<div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux</a></h1></div>
{% endif %}
<div id="archnavbarmenu">
<ul id="archnavbarlist">
<li id="anb-home"><a href="/" title="Arch news, packages, projects and more">Home</a></li>
Expand All @@ -31,6 +33,9 @@
</ul>
</div>
</div>
{% if request.GET.uwu %}
<div id="archnavbarlogo" class="uwu"><h1><a href="/?uwu=true" title="Return to the main page">Arch Linux</a></h1></div>
{% endif %}
<div id="content">
<div id="archdev-navbar">
{% if user.is_authenticated %}
Expand Down