Skip to content

Commit

Permalink
Revert alternative logo
Browse files Browse the repository at this point in the history
  • Loading branch information
rhendric committed Nov 22, 2024
1 parent b92b5a9 commit 7709fa6
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 35 deletions.
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

0 comments on commit 7709fa6

Please sign in to comment.