Files
selmer-bot-website/CSS/index.css
T
a-box31 0ef0c8e1fe Mark1 navigation
creating a better and functional navigation tab. Added layered scrolling with relative positioning of elements in the DOM.
2022-11-25 12:23:31 -05:00

194 lines
3.1 KiB
CSS

*{
margin: 0;
padding: 0;
}
html { width:100%; height:100%; margin:0; padding:0; }
body {
background-color: rgb(41, 42, 48);
/* background-color: rgb(1, 1, 59); */
width:100%; height:100%; margin:0; padding:0;
}
.loginbtn {
margin-top: 14px;
scale: 1.2;
border-radius: 10%;
}
.loginbtn:hover {
color: #377aea;
}
.tooltip {
position: relative;
display: inline-block;
cursor: default;
}
.tooltip .tooltiptext {
visibility: hidden;
padding: 0.25em 0.5em;
background-color: black;
color: #fff;
text-align: center;
border-radius: 0.25em;
white-space: nowrap;
/* Position the tooltip */
position: absolute;
z-index: 1;
top: 100%;
left: 100%;
transition-property: visibility;
transition-delay: 0s;
}
.tooltip:hover .tooltiptext {
visibility: visible;
transition-delay: 0.3s;
}
.logoutbtn {
margin-top: 14px;
scale: 1.2;
border-radius: 10%;
/* float: right; */
}
.logoutbtn:hover {
cursor: pointer;
color: red;
}
.desctext {
/* float:left; */
color: white;
/* margin-left: 50px; */
margin-top: 20px;
background-color: rgb(1, 69, 196, 0.1);
padding: 20px;
border-radius: 10%;
width: auto;
}
/*************************
CAROUSEL
*************************/
.carousel .carousel-inner {
height: 550px;
margin-top: 20px;
margin-bottom: 100px;
background: #faf9f9;
border:1px solid rgb(94, 104, 104);
}
.carousel-control.right,
.carousel-control.left {
background-image: none;
}
.control-icon {
color: #393939;
text-shadow: none;
}
.carousel-inner {
position: relative;
height: 300px;
}
.carousel-img {
/* width: 200px;
height: 400px; */
background-size: cover;
position: relative;
/* top: 50px; */
transform: translateY(5%);
}
.cat-title {
text-shadow: none;
}
.item{
position: relative;
}
.wrapper {
width: 1170px;
margin: 0 auto;
background-color: black;
height: 100px;
width: 100%;
z-index: 12;
position: fixed;
top: 0;
}
header{
text-align: center;
}
.logo{
width: 30%;
float: left;
line-height: 100px;
}
.logo a{
text-decoration: none;
font-size: 30px;
font-family: poppins, sans-serif;
color: #fff;
letter-spacing: 5px;
}
nav{
float: right;
line-height: 100px;
}
nav a{
text-decoration: none;
font-family: poppins, sans-serif;
letter-spacing: 4px;
font-size: 20px;
margin: 0 10px;
color: #fff;
}
.banner-area{
width: 100%;
height: 500px;
position: fixed;
top: 100px;
background-image: url('https://github.com/ION606/selmer-bot-website/blob/main/assets/Header%20BK.gif?raw=true');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
}
.banner-area h2 {
padding: 8%;
font-size: 70px;
font-family: sans-serif, poppins;
text-transform: uppercase;
color: #fff;
}
.content-area {
width: 100%;
position: relative;
top: 450px;
background-color: rgb(41, 42, 48);
}
.content-area h2 {
}