Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert alternative logo #320

Closed
wants to merge 1 commit into from
Closed
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
14 changes: 0 additions & 14 deletions site/css/hl.css
Original file line number Diff line number Diff line change
Expand Up @@ -294,20 +294,6 @@ img {
max-width: 100%;
height: auto; }

.alternative-logo {
filter: drop-shadow(0px 0px 1px black); }

.alternative-logo-visible {
display: none; }

.alternative-logo .alternative-logo-visible,.alternative-logo-hidden {
display: block;
max-width: 100%;
height: auto; }

.alternative-logo .alternative-logo-hidden {
display: none; }

.img-rounded {
border-radius: 6px; }

Expand Down
Binary file removed site/img/haskell-uwu.png
Binary file not shown.
5 changes: 2 additions & 3 deletions site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
<div class="row">
<div class=" span6 col-md-6">
<div class="branding">
<br class="hidden-xs alternative-logo-hidden">
<img src="/img/haskell-logo.svg" alt="Haskell" class="img-responsive alternative-logo-hidden">
<img src="/img/haskell-uwu.png" alt="Haskell UwU" class="alternative-logo alternative-logo-visible">
<br class="hidden-xs">
<img src="/img/haskell-logo.svg" alt="Haskell" class="img-responsive">
<h4 class="summary">An advanced, purely functional programming language</h4>
</div>
</div>
Expand Down
18 changes: 0 additions & 18 deletions site/templates/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,6 @@
<link rel="stylesheet" href="/css/hl.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/glider-js@1/glider.min.css">
<script src="https://cdn.jsdelivr.net/npm/glider-js@1/glider.min.js"></script>
<script>
(function () {
try {
const isUwuValue = window.location
&& window.location.search
&& window.location.search.match(/uwu=(true|false)/);

if (isUwuValue) {
const isUwu = isUwuValue[1] === 'true';
if (isUwu) {
document.documentElement.classList.add('alternative-logo');
console.log('alternative logo enabled. turn off with ?uwu=false')
console.log('logo credit to @sawaratsuki1004. Slightly tweaked by @Tritlo');
}
}
} catch (err) { }
})();
</script>
</head>
<body class="page-$page$">
<div class="wrap">
Expand Down
Loading