diff options
Diffstat (limited to 'www/assets/res')
| -rw-r--r-- | www/assets/res/css/base.css | 18 | ||||
| -rw-r--r-- | www/assets/res/css/home.css | 6 | ||||
| -rw-r--r-- | www/assets/res/js/color-scheme.ts | 18 | 
3 files changed, 0 insertions, 42 deletions
diff --git a/www/assets/res/css/base.css b/www/assets/res/css/base.css index c628271..06fcb4b 100644 --- a/www/assets/res/css/base.css +++ b/www/assets/res/css/base.css @@ -70,19 +70,6 @@ nav {    font-size: large;  } -#slogan { -  color: white; -  width: 100%; -  padding: 0.5em 1em; -  text-align: center; -  background-color: dodgerblue; -  user-select: none; - -  & > * { -    user-select: text; -  } -} -  #main-article {    position: relative;    left: 50%; @@ -147,9 +134,4 @@ html[data-theme="dark"] {    & a:visited {      color:#abcac4;    } - -  & #slogan { -    color: var(--body-fg-color); -    background-color: midnightblue; -  }  } diff --git a/www/assets/res/css/home.css b/www/assets/res/css/home.css index 3df42ff..60c9ac7 100644 --- a/www/assets/res/css/home.css +++ b/www/assets/res/css/home.css @@ -1,9 +1,3 @@ -#slogan { -  position: sticky; -  z-index: 1; -  top: 0; -} -  #avatar {    float: right;  } diff --git a/www/assets/res/js/color-scheme.ts b/www/assets/res/js/color-scheme.ts index db6a3aa..fb4accf 100644 --- a/www/assets/res/js/color-scheme.ts +++ b/www/assets/res/js/color-scheme.ts @@ -90,21 +90,3 @@ function next(): Scheme | null {      }    }  } - -window.addEventListener("load", () => { -  const slogon = document.getElementById("slogan")! -  let clicks: number = 0 - -  const reset = createResetTimer(() => { -    clicks = 0 -  }) - -  slogon.addEventListener("click", () => { -    reset() -    clicks += 1 -    if (clicks === 3) { -      saveScheme(next()) -      clicks = 0 -    } -  }) -})  | 
