Files
selmer-bot-website/CSS/index.css
T
a-box31 d7a70a92c0 Adding content to navigation
Added the website title and logo to the page making it work with the navigation. The rest of the icons must be added as well as a hamburger menu for smaller page sizes.
2022-11-29 12:42:47 -05:00

250 lines
4.1 KiB
CSS

*{
margin: 0px;
padding: 0px;
box-sizing: border-box;
}
html {
width:100%;
height:100%;
margin:0;
padding:0;
}
body {
background-color: rgb(41, 42, 48);
/* background-color: rgb(1, 1, 59); */
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;
}
.main-header {
margin: 0 auto;
background-color: black;
height: 100px;
width: 100%;
z-index: 12;
position: fixed;
top: 0;
}
header{
text-align: center;
}
.brand-name {
/* class for band name: should be centered wherever it is */
text-align: center;
/* heading elements like h1 all have margins: let the margins be 0 */
margin: 0;
font-size: 1em;
/* changing the everything tag's font set on the heading to be different */
font-family: Rajdhani, sans-serif, poppins;
/*
Since heading are by default bolded, the font-weight can be changed to
normalize the bolded text
*/
font-weight: normal;
/* All band names should be white */
color: white;
}
.band-name-large {
font-size: 2em;
}
.logo{
width: 50%;
float: left;
line-height: 100px;
display: flex;
align-items: center;
margin-left: 5%
}
.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;
}
.navigation{
display: flex;
justify-content: space-between;
align-items: flex-end;
width: 100%;
}
.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%;
height: auto;
margin-top: 100px;
position: relative;
top: 450px;
background-color: rgb(41, 42, 48);
}
footer{
background-color: rgb(41, 42, 48);
}
.footer-area {
padding-top: 30px;
width: 100%;
position: relative;
top: 450px;
background-color: rgb(41, 42, 48);
}