Fennix/tools/website/css/style.css
2022-10-17 08:09:49 +03:00

214 lines
3.9 KiB
CSS

html {
scroll-behavior: smooth;
}
body {
background-color: #000;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
font-family: 'Open Sans', sans-serif;
z-index: -1;
margin: 0;
}
.background_main {
background-image: linear-gradient(121deg, rgb(0, 0, 0) 40%, rgb(72, 0, 140) 40%, rgb(0, 16, 80) 76%, rgb(72, 0, 0) 100%);
background-size: 400% 400%;
height: 100vh;
animation: gradient 4s ease-out;
animation-fill-mode: forwards;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: rgb(40, 40, 40);
}
::-webkit-scrollbar-thumb {
background: #888;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
.on-background-text {
color: #f2f2f2;
}
.move-to-middle {
text-align: center;
}
.move-to-left {
text-align: left;
}
.move-to-right {
text-align: right;
}
.navbar {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: rgb(15, 15, 15, 0.8);
position: sticky;
top: 0;
z-index: 101;
}
.navbar a {
float: left;
display: block;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.navbar a:hover {
background-color: rgb(80, 0, 100, 0.5);
}
.navbar a.active {
background-color: rgb(100, 0, 180, 0.5);
}
.navbar a.active_f {
background-color: rgb(100, 0, 180, 0.5);
}
.navbar .icon {
display: none;
}
.content-buttons {
background-color: rgb(20, 20, 20);
}
.button {
background-color: rgb(15, 15, 15, 0.1);
/* #964caf; */
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
.button:hover {
background-color: rgb(80, 0, 100, 0.5);
/* #872ea5; */
color: white;
}
.header {
background-color: rgb(15, 15, 15, 0.8);
color: #f2f2f2;
text-align: center;
padding: 5px;
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(10px);
}
footer {
text-align: center;
background-color: rgb(15, 15, 15, 0.8);
color: white;
overflow: hidden;
position: fixed;
bottom: 0;
width: 100%;
z-index: 104;
backdrop-filter: blur(10px);
}
.round-border-low {
border-radius: 2px;
}
.round-border-med {
border-radius: 6px;
}
.round-border-high {
border-radius: 16px;
}
.panel {
background: rgba(177, 177, 177, 0.2);
backdrop-filter: blur(40px);
box-shadow: 1px 1px 2px rgb(255, 255, 255), 0 0 0.2em rgb(0, 42, 167), 0 0 0.5em rgb(81, 0, 144);
border-radius: 4px;
padding-left: 4px;
padding-right: 4px;
}
#backToTopBtn {
backdrop-filter: blur(10px);
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 105;
border: none;
outline: none;
background-color: rgb(100, 0, 180, 0.5);
color: white;
cursor: pointer;
padding: 15px;
border-radius: 10px;
font-size: 18px;
}
#backToTopBtn:hover {
background-color: rgb(80, 0, 100, 0.5);
}
.stroketext {
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.parallax {
min-height: 1000px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.gradienttext {
color: #eee;
text-transform: capitalize;
background: linear-gradient(-45deg, #09f1b8, #00a2ff, #920077, #fed90f);
background-size: 100% 100%;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-stroke: 10px transparent;
}
.glowtext {
text-shadow: 1px 1px 2px red, 0 0 2em rgb(0, 42, 167), 0 0 1.2em rgb(50, 0, 88);
}