Organized css
This commit is contained in:
parent
badc271554
commit
ee32fc9bf0
44
assets/styles/about.css
Normal file
44
assets/styles/about.css
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
.social-link {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img {
|
||||||
|
height: 50px;
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.links {
|
||||||
|
background-color: #eeeeee;
|
||||||
|
width: 20%;
|
||||||
|
height: 300px;
|
||||||
|
border-radius: 25px;
|
||||||
|
float: right;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
margin-top: -1px;
|
||||||
|
margin-right: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.links-title {
|
||||||
|
font-size: x-large;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#about-div {
|
||||||
|
background-color: #eeeeee;
|
||||||
|
width: 80%;
|
||||||
|
height: 300px;
|
||||||
|
border-radius: 25px;
|
||||||
|
border-color: #000000;
|
||||||
|
border-style: solid;
|
||||||
|
border-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#about-description {
|
||||||
|
margin-left: 25px;
|
||||||
|
margin-right: 25px;
|
||||||
|
}
|
17
assets/styles/index.css
Normal file
17
assets/styles/index.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.welcome {
|
||||||
|
font-size: large;
|
||||||
|
color: #eeeeee;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#terminal {
|
||||||
|
width: 98%;
|
||||||
|
height: 60px;
|
||||||
|
background-color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.border {
|
||||||
|
border-image: url("/assets/imgs/border.png") 28 / 28px / 0 round;
|
||||||
|
border-width: 28px;
|
||||||
|
border-style: solid;
|
||||||
|
}
|
@ -10,14 +10,66 @@ body {
|
|||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.welcome {
|
.bg {
|
||||||
font-size: large;
|
position: fixed;
|
||||||
|
top: -50%;
|
||||||
|
left: -50%;
|
||||||
|
right: -50%;
|
||||||
|
bottom: -50%;
|
||||||
|
width: 200%;
|
||||||
|
height: 200vh;
|
||||||
|
z-index: -1;
|
||||||
|
background: transparent url("/assets/imgs/noise-transparent.png") repeat 0 0;
|
||||||
|
background-repeat: repeat;
|
||||||
|
animation: shake 0.2s infinite;
|
||||||
|
opacity: 0.9;
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
.border {
|
@keyframes shake {
|
||||||
border-image: url("/assets/imgs/border.png") 28 / 28px / 0 round;
|
0% {
|
||||||
border-width: 28px;
|
transform: translate(0, 0);
|
||||||
border-style: solid;
|
}
|
||||||
|
|
||||||
|
10% {
|
||||||
|
transform: translate(-5%, -5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
20% {
|
||||||
|
transform: translate(-10%, 5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
30% {
|
||||||
|
transform: translate(5%, -10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
40% {
|
||||||
|
transform: translate(-5%, 15%);
|
||||||
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
transform: translate(-10%, 5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
60% {
|
||||||
|
transform: translate(15%, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
70% {
|
||||||
|
transform: translate(0, 10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
80% {
|
||||||
|
transform: translate(-15%, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
90% {
|
||||||
|
transform: translate(10%, 5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: translate(5%, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#page-container {
|
#page-container {
|
||||||
@ -76,51 +128,15 @@ body {
|
|||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
font-feature-settings: "liga";
|
font-feature-settings: "liga";
|
||||||
}
|
}
|
||||||
|
|
||||||
.material-symbols-rounded {
|
.material-symbols-rounded {
|
||||||
font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 200, "opsz" 48;
|
font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 200, "opsz" 48;
|
||||||
}
|
}
|
||||||
|
|
||||||
.materialtext {
|
.materialtext {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
.imglink {
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
margin-right: 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.img {
|
|
||||||
height: 50px;
|
|
||||||
width: 50px;
|
|
||||||
}
|
|
||||||
.about {
|
|
||||||
background-color: #eeeeee;
|
|
||||||
width: 20%;
|
|
||||||
height: 300px;
|
|
||||||
border-radius: 25px;
|
|
||||||
float: right;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
margin-top: -1px;
|
|
||||||
margin-right: -1px;
|
|
||||||
}
|
|
||||||
.aboutext {
|
|
||||||
font-size: x-large;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
#aboutpg {
|
|
||||||
background-color: #eeeeee;
|
|
||||||
width: 80%;
|
|
||||||
height: 300px;
|
|
||||||
border-radius: 25px;
|
|
||||||
border-color: #000000;
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
}
|
|
||||||
#pgt {
|
|
||||||
margin-left: 25px;
|
|
||||||
margin-right: 25px;
|
|
||||||
}
|
|
||||||
ul {
|
ul {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
@ -131,9 +147,11 @@ ul {
|
|||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
li a {
|
li a {
|
||||||
display: block;
|
display: block;
|
||||||
color: white;
|
color: white;
|
||||||
@ -141,16 +159,20 @@ li a {
|
|||||||
padding: 14px 16px;
|
padding: 14px 16px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
li a:hover:not(.active) {
|
li a:hover:not(.active) {
|
||||||
background-color: hsl(241, 85%, 18%);
|
background-color: hsl(241, 85%, 18%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.active {
|
.active {
|
||||||
background-color: hsl(244, 100%, 52%);
|
background-color: hsl(244, 100%, 52%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.noscroll {
|
.noscroll {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: hidden;
|
overflow-y: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
padding: 15px 25px;
|
padding: 15px 25px;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
@ -171,63 +193,3 @@ li a:hover:not(.active) {
|
|||||||
box-shadow: 0 5px #666;
|
box-shadow: 0 5px #666;
|
||||||
transform: translateY(4px);
|
transform: translateY(4px);
|
||||||
}
|
}
|
||||||
.bg {
|
|
||||||
position: fixed;
|
|
||||||
top: -50%;
|
|
||||||
left: -50%;
|
|
||||||
right: -50%;
|
|
||||||
bottom: -50%;
|
|
||||||
width: 200%;
|
|
||||||
height: 200vh;
|
|
||||||
z-index: -1;
|
|
||||||
background: transparent url("/assets/imgs/noise-transparent.png") repeat 0 0;
|
|
||||||
background-repeat: repeat;
|
|
||||||
animation: shake 0.2s infinite;
|
|
||||||
opacity: 0.9;
|
|
||||||
visibility: visible;
|
|
||||||
}
|
|
||||||
@keyframes shake {
|
|
||||||
0% {
|
|
||||||
transform: translate(0, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
10% {
|
|
||||||
transform: translate(-5%, -5%);
|
|
||||||
}
|
|
||||||
|
|
||||||
20% {
|
|
||||||
transform: translate(-10%, 5%);
|
|
||||||
}
|
|
||||||
|
|
||||||
30% {
|
|
||||||
transform: translate(5%, -10%);
|
|
||||||
}
|
|
||||||
|
|
||||||
40% {
|
|
||||||
transform: translate(-5%, 15%);
|
|
||||||
}
|
|
||||||
|
|
||||||
50% {
|
|
||||||
transform: translate(-10%, 5%);
|
|
||||||
}
|
|
||||||
|
|
||||||
60% {
|
|
||||||
transform: translate(15%, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
70% {
|
|
||||||
transform: translate(0, 10%);
|
|
||||||
}
|
|
||||||
|
|
||||||
80% {
|
|
||||||
transform: translate(-15%, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
90% {
|
|
||||||
transform: translate(10%, 5%);
|
|
||||||
}
|
|
||||||
|
|
||||||
100% {
|
|
||||||
transform: translate(5%, 0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user