mirror of
https://github.com/JonasunderscoreJones/Website-v1.git
synced 2025-10-25 19:49:19 +02:00
110 lines
2.1 KiB
CSS
110 lines
2.1 KiB
CSS
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
/* Track */
|
|
::-webkit-scrollbar-track {
|
|
background: #f1f1f1;
|
|
}
|
|
|
|
/* Handle */
|
|
::-webkit-scrollbar-thumb {
|
|
background: #195294;
|
|
}
|
|
|
|
/* Handle on hover */
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #10335C;
|
|
}
|
|
/* CUSTOM COLOR CLASSES */
|
|
.custom1{color:white;background-color:#10335C}
|
|
.custom2{background-color:#195294;color:white}
|
|
/*SCROLL BACK TO TOP BUTTON*/
|
|
#returntotop {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 30px;
|
|
z-index: 99;
|
|
font-size: 18px;
|
|
border: none;
|
|
outline: none;
|
|
background-color: #10335C;
|
|
color: white;
|
|
cursor: pointer;
|
|
padding: 2.5px;
|
|
border-radius: 4px;
|
|
width: 155px;
|
|
text-align: center;
|
|
}
|
|
|
|
#returntotop:hover {
|
|
background-color: #195294;
|
|
width: 155px;
|
|
}
|
|
#myBtn1 {
|
|
z-index: 99;
|
|
font-size: 18px;
|
|
border: none;
|
|
outline: none;
|
|
background-color: white;
|
|
color: #10335C;
|
|
cursor: pointer;
|
|
padding: 2.5px;
|
|
border-radius: 4px;
|
|
width: 155px;
|
|
text-align: center;
|
|
}
|
|
|
|
#myBtn1:hover {
|
|
background-color: #195294;
|
|
width: 155px;
|
|
}
|
|
.nobar {
|
|
overflow-y: hidden;
|
|
}
|
|
#subbutton {
|
|
color: white;
|
|
background-color: red;
|
|
border-radius: 2px;
|
|
padding: 7px;
|
|
}
|
|
.modal {
|
|
display: none; /* Hidden by default */
|
|
position: fixed; /* Stay in place */
|
|
z-index: 1; /* Sit on top */
|
|
padding-top: 100px; /* Location of the box */
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%; /* Full width */
|
|
height: 100%; /* Full height */
|
|
overflow: auto; /* Enable scroll if needed */
|
|
background-color: rgb(0,0,0); /* Fallback color */
|
|
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
|
}
|
|
|
|
/* Modal Content */
|
|
.modal-content {
|
|
background-color: #fefefe;
|
|
margin: auto;
|
|
padding: 20px;
|
|
border: 1px solid #888;
|
|
width: 80%;
|
|
}
|
|
|
|
/* The Close Button */
|
|
.close {
|
|
color: #aaaaaa;
|
|
float: right;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.close:hover,
|
|
.close:focus {
|
|
color: #000;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
}
|