From f6377e206412817f372c525a06b0b0d0fba68e06 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 24 Oct 2021 22:25:48 +0200 Subject: [PATCH] style added --- style.css | 240 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 style.css diff --git a/style.css b/style.css new file mode 100644 index 0000000..3dcd54f --- /dev/null +++ b/style.css @@ -0,0 +1,240 @@ +body { + /* white to black linear noise gradient spanning from top to bottom */ + min-height: 100vh; + background-image: + url('noise.svg'), + linear-gradient(to bottom right, #2e3551, #0d747d); +} + +@font-face{ + font-family: inter; + src: url("./assets/fonts/inter/Inter-Regular.ttf"); + font-style: normal; + font-weight: normal; +} + +@font-face{ + font-family: inter; + src: url("./assets/fonts/inter/Inter-Medium.ttf"); + font-style: normal; + font-weight: 600; +} + + +@font-face{ + font-family: inter; + src: url("./assets/fonts/inter/Inter-Bold.ttf"); + font-style: normal; + font-weight: 800; +} + + +body { + font-family: inter; + color: #e9d2d2; + font-size: 1rem; + font-weight: 600; + min-height: 100vh; + position: relative; +} + + + +a { + color: #52dca7; + color: #51cdff; + text-decoration: none; +} + +main { + position: relative; + padding-top: 20px; + padding-left: 10vw; + padding-right: 10vw; + padding-bottom: 130px; + text-align: left; + font-size: 1rem; +} + +@media only screen and (min-width: 768px) { + /* For desktop: */ + main { + padding-left: 20vw; + padding-right: 20vw; + } +} + +.ppbut { + border: 0; + background: transparent; + box-sizing: border-box; + width: 0; + height: 20px; + margin-right: 0px; + margin-bottom: 1px; + border-color: transparent transparent transparent #e9d2d2; + transition: 100ms all ease; + cursor: pointer; + border-style: solid; + border-width: 10px 0 10px 20px; +} +.ppbut.playing { + border-style: double; + border-width: 0px 0 0px 20px; +} +.ppbut:hover { + border-color: transparent transparent transparent rgba(233,210,210,0.7); +} + +td { + vertical-align:bottom; +} + +footer { + position: absolute; + bottom: 0px; + left:0; + right:0; + margin-left:auto; + margin-right:auto; +} + +main footer { + position: relative; + text-align: right; +} + +img.cc-link { + height: 25px; +} + +span.screenbox { + background-color: #e9d2d2; + font-weight: bold; + color: black; + margin: 0 auto; + padding-left: 3px; + padding-right: 3px; + mix-blend-mode: screen; +} + + +/*main a { + background-color: #e9d2d2; + color: black; + margin: 0 auto; + padding-left: 3px; + padding-right: 3px; + mix-blend-mode: screen; +} +*/ +main h3 { + font-size: 1.5rem; + font-weight: 800: +} + +main a:hover { + opacity: 0.7; +} + + +nav { + font-weight: 800; + font-size: 1.25rem; + position: relative; + margin-left: 20px; + margin-right: 20px; + margin-top: 20px; + height: auto; + box-sizing: border-box; + pointer-events: all; +} + +nav section#left-nav { + /*float: left;*/ + position: absolute; + left: 0px; + pointer-events: all; + z-index: 200; +} + +nav section#right-nav { + /*float: right; + margin-right: 20px;*/ + position: absolute; + right: 0px; + pointer-events: all; + z-index: 200; +} + + + +nav a { + color: inherit; +} + +main p { + line-height: 2.3rem; +} + +section#license { + display: flex; + justify-content: center; + align-items: center; + margin-bottom: 10px; +} + +section#social { + display: flex; + justify-content: center; + align-items: center; + font-size: 20px; + margin-top: 5px; + margin-bottom: 0px; +} +section#social a { + color: inherit; + margin-right: 5px; + margin-left: 5px; +} + +footer section#mail span { + display: none; + height: 0px; +} + +section#mail { + display: flex; + justify-content: center; + align-items: center; + font-size: 16px; + margin-top: -5px; +} + +.islang { + border-bottom: 5px solid #e9d2d2; +} + +main img { + width: 100%; + margin-bottom: 20px; +} + + +img.avatar { + width: 100px; + border-radius: 50%; + mix-blend-mode: ; +} + +main section.main-centered { + text-align: center; +} + +hr { + height: 8px; + background-color: #e9d2d2; + margin-top: 30px; + margin-bottom: 30px; +} +