BCPackages-Interface/assets/css/style.css

162 lines
No EOL
2.7 KiB
CSS

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;
}
.dropButton {
background-color: rgb(63, 173, 63);
color: white;
padding: 16px;
font-size: 16px;
border: none;
display: none;
}
.dropButton i {
color: black;
}
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: black;
min-width: 160px;
box-shadow: 0 8px 16px 0 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 .dropButton {
background-color: grey;
}
.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 {
min-width: 550px;
min-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: 2px 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: 2px 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;
}
.dropButton {
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;
}
}