Completely new UI
This commit is contained in:
parent
3c6270f83d
commit
e301f73ebf
6 changed files with 50 additions and 40 deletions
BIN
static/fonts/source-code-pro-v23-latin-regular.woff2
Normal file
BIN
static/fonts/source-code-pro-v23-latin-regular.woff2
Normal file
Binary file not shown.
|
@ -1,44 +1,41 @@
|
|||
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
font-family: 'Source Code Pro';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../fonts/source-code-pro-v23-latin-regular.woff2') format('woff2');
|
||||
}
|
||||
|
||||
|
||||
* {
|
||||
font-family: Verdana, Geneva, Tahoma, sans-serif;
|
||||
font-family: "Source Code Pro", Verdana, Geneva, Tahoma, sans-serif;
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
line-height: 1.5rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: rgb(225, 215, 255);
|
||||
color: rgb(0, 255, 0);
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
h2,
|
||||
h3,
|
||||
li {
|
||||
color: white;
|
||||
color: rgb(0, 255, 0);
|
||||
}
|
||||
|
||||
body,
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
margin: auto;
|
||||
background-color: rgb(20, 5, 60);
|
||||
background: linear-gradient(rgb(25, 5, 75), black);
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: black;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-attachment: local;
|
||||
}
|
||||
|
||||
body {
|
||||
padding: 2.5%;
|
||||
}
|
||||
|
||||
.fadediv {
|
||||
animation-name: fade-in;
|
||||
animation-duration: .75s;
|
||||
animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||
main {
|
||||
margin: auto;
|
||||
max-width: 1000px;
|
||||
}
|
||||
|
@ -49,6 +46,24 @@ a {
|
|||
transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
|
||||
}
|
||||
|
||||
.textBlock {
|
||||
color: rgb(240, 240, 240);
|
||||
white-space: pre-wrap;
|
||||
background-color: rgb(10, 10, 10);
|
||||
border: 2px lightgray solid;
|
||||
padding: 0 10px;
|
||||
|
||||
}
|
||||
|
||||
.post {
|
||||
color: rgb(240, 240, 240);
|
||||
background-color: rgb(10, 10, 10);
|
||||
border: 2px gray solid;
|
||||
padding: 10px;
|
||||
padding-top: 0;
|
||||
margin: 25px 10px;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: white;
|
||||
transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
|
||||
|
@ -72,16 +87,4 @@ hr {
|
|||
opacity: 0.25;
|
||||
border-width: 2px;
|
||||
margin: 15px 10%;
|
||||
}
|
||||
|
||||
@keyframes fade-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateY(50vh);
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: none;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue