From 2bc164718f20bf30539c3f577115d74ea12bf9ce Mon Sep 17 00:00:00 2001 From: craisin Date: Sun, 30 Nov 2025 17:11:43 -0800 Subject: [PATCH] fix scroll --- source/static/style.css | 10 ++++++- source/templates/index.html | 58 +++++++++++++++++++------------------ 2 files changed, 39 insertions(+), 29 deletions(-) diff --git a/source/static/style.css b/source/static/style.css index 8c3c5a7..330ee1d 100644 --- a/source/static/style.css +++ b/source/static/style.css @@ -28,6 +28,8 @@ h2{ background-color: #FA8080; border-radius: 5vw; + overflow-y: hidden; + } #content > * { @@ -36,11 +38,17 @@ h2{ } +#scroller{ + + height: 80vh; + overflow-y: scroll; + +} + #content { margin: 0px; padding: 5vw; - overflow-y: scroll; } diff --git a/source/templates/index.html b/source/templates/index.html index dbb3da3..9cb16fd 100644 --- a/source/templates/index.html +++ b/source/templates/index.html @@ -12,40 +12,42 @@
-
- -

@craisin


-

Hellođź‘‹! I am Cayden Yap, a young Python programmer (with an interest in competitive programming and ML), math enthusiast, and saber fencer.

-

Profiles

- -

Resources

- -

Things I've Done

-
    -
  • Programming
  • +
    +
    + +

    @craisin


    +

    Hellođź‘‹! I am Cayden Yap, a young Python programmer (with an interest in competitive programming and ML), math enthusiast, and saber fencer.

    +

    Profiles

    -
  • Math
  • +

    Resources

    -
  • Fencing
  • +

    Things I've Done

      -
    • Top 8 Div II MS @ 2024 Summer Nationals
    • -
    • Top 32 Cadet MS @ 2025 October NAC
    • +
    • Programming
    • +
        +
      • USACO Silver
      • +
      • Max Expert Codeforces
      • +
      • PHHS CS Club Officer
      • +
      +
    • Math
    • +
        +
      • 92 on AMC 10
      • +
      • President of PHHS Math Team
      • +
      • Leading SMS Math Team
      • +
      +
    • Fencing
    • +
        +
      • Top 8 Div II MS @ 2024 Summer Nationals
      • +
      • Top 32 Cadet MS @ 2025 October NAC
      • +
    -
+