From 23f24b21df700b3319509548f676401450335dc3 Mon Sep 17 00:00:00 2001 From: codingkatty Date: Fri, 3 Jan 2025 15:06:14 +0800 Subject: [PATCH] uhh sorry zhivehn --- chill.css | 141 +++++++++++++++++++++++++++++++++++++++++++++++++++++ chill.html | 2 +- 2 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 chill.css diff --git a/chill.css b/chill.css new file mode 100644 index 0000000..30cb296 --- /dev/null +++ b/chill.css @@ -0,0 +1,141 @@ +body { + margin: 0; + font-family: 'Open Sans', Arial, sans-serif; + background-color: #001b42; + color: #fff; + text-align: center; +} + +header nav { + display: flex; + justify-content: flex-end; + align-items: center; + padding: 10px 20px; + background-color: transparent +} + + +header .navigation { + display: flex; +} + +header .navigation .navigation-items a { + position: relative; + color: #ffffff; + font-size: 1em; + font-family: 'Open Sans', Arial, sans-serif; + font-weight: 600; + text-decoration: none; + margin-left: 15px; + margin-right: 15px; + transition: color 0.3s ease; +} + +header .navigation .navigation-items a::after { + content: ''; + position: absolute; + left: 0; + bottom: -5px; + width: 100%; + height: 3px; + background: #5271ff; + transform: scaleX(0); + transition: transform 0.3s ease; +} + +header .navigation .navigation-items a:hover::after { + transform: scaleX(1); +} + +.profile { + margin-left: 20px; +} + +.profile img { + width: 40px; + height: 40px; + border-radius: 50%; +} + +.main-container { + display: flex; + align-items: center; + justify-content: flex-start; + padding: 20px; +} + +.player-card { + display: inline-block; + background-color: #002963; + padding: 15px; + border-radius: 10px; + width: 200px; + margin-right: 30px; + margin-top: 10px; + text-align: center; +} + +.player-avatar img { + width: 50px; + height: 50px; + margin-bottom: 10px; +} + +.cover { + width: 100px; + height: 100px; + margin: 10px auto; +} + +button { + background-color: #00509e; + border: none; + color: white; + font-size: 20px; + padding: 10px; + border-radius: 5px; + cursor: pointer; +} + +button:hover { + background-color: #004080; +} + +.title h1 { + font-family: 'Press Start 2P', Arial, sans-serif; + font-size: 60px; + margin: 0; + color: white; +} + +.title span { + color: gold; +} + +.scrolling-text { + background-color: #004080; + color: #fff; + padding: 5px; + border-radius: 5px; + overflow: hidden; + white-space: nowrap; + box-sizing: border-box; + margin: 10px auto; + width: 80%; + font-size: 14px; +} + +.scrolling-text p { + display: inline-block; + animation: scroll 10s linear infinite; +} + +@keyframes scroll { + from { + transform: translateX(100%); + } + + to { + transform: translateX(-100%); + } +} \ No newline at end of file diff --git a/chill.html b/chill.html index ac2d45d..5d3f0d7 100644 --- a/chill.html +++ b/chill.html @@ -9,7 +9,7 @@ rel="stylesheet" /> - +