BCPackages-Interface/CSS/style.css

162 lines
2.7 KiB
CSS
Raw Normal View History

2024-07-13 10:42:24 -07:00
h1, h2, a, p {
font-family: "Montserrat", sans-serif;
}
.hdr {
background-color: rgb(63, 173, 63);
color: white;
position: fixed;
right: 0;
left: 0;
top: 0;
display: flex;
flex-direction: row;
align-items: center;
}
.dropbtn {
background-color: rgb(63, 173, 63);
color: white;
padding: 16px;
font-size: 16px;
border: none;
display: none;
}
.dropbtn i {
color: black;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: black;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
.dropdown-content a {
color: white;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: gray;
}
.dropdown:hover .dropdown-content {
display: block;
padding-right: 20px;
}
.dropdown:hover .dropbtn {
background-color: grey;
}
2024-07-13 10:42:24 -07:00
.hdr a {
color: white;
text-decoration: none;
padding-right: 20px;
}
.hdr nav {
padding-left: 750px;
display: flex;
flex-direction: row;
}
.hdr h2 {
padding-left: 100px;
}
.main {
margin-top: 200px;
}
.logo {
width: 550px;
height: 150px;
}
.edit-cont {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
.edition {
background-color: rgb(77, 230, 77);
color: black;
height: 250px;
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
border: 1.7px, solid black;
}
.edit-btn {
height: 60px;
width: 500px;
background-color: rgb(99, 99, 234);
border-radius: 10px;
border: none;
box-shadow: 5px 5px 5px grey;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: black;
text-decoration: none;
}
.edit-btn:hover {
background-color: darkblue;
}
.package {
border: 1.7px solid black;
display: flex;
align-items: center;
justify-content: center;
width: 400px;
height: 50px;
color: black;
text-decoration: none;
}
.packages {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
}
@media screen and (max-width: 850px) {
.packages {
display: flex;
flex-direction: column;
}
.package {
width: 350px;
margin-left: 20px;
}
.dropbtn {
display: block;
}
.edit-cont {
display: flex;
flex-direction: column;
}
.edit-btn {
width: 300px;
}
.hdr {
display: flex;
flex-direction: row;
align-items: center;
height: 90px;
}
.logo {
width: 350px;
}
.hdr nav {
display: none;
}
2024-07-13 10:42:24 -07:00
}