You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyper-set/styles/index.css

110 lines
1.8 KiB

/* Nav Bar */
#nav-bar {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
list-style-type: none;
background-color: black;
}
#nav-bar li {
display: flex;
flex-grow: 1;
}
#nav-bar li a {
display: flex;
flex-grow: 1;
justify-content: center;
font-size: 2rem;
font-weight: bold;
font-family: var(--font);
text-decoration: none;
color: white;
padding: 1.5rem;
padding-left: 1.5rem;
padding-right: 1.5rem;
transition: 0.2s;
}
#nav-bar li a:hover {
background-color: red;
}
/* Main */
#master {
display: flex;
flex-direction: row;
}
.column {
display: flex;
flex-direction: column;
padding: 3em;
height: calc(100vh - 5rem - 7em);
}
#left {
display: flex;
flex-direction: column;
width: 60%;
background-color: white;
}
#right {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
width: 40%;
background-color: white;
}
.action-button {
display: flex;
justify-content: center;
align-items: center;
width: 50%;
padding: 1.2em;
padding-top: 2.1rem;
background-color: white;
border: 0.2rem solid black;
border-radius: 0.5em;
font-family: var(--font);
font-size: 1.5em;
transition: 0.3s;
}
.action-button:hover {
background-color: black;
color: white;
transform: scale(1.2);
cursor: pointer;
}
h1 {
color: black;
font-size: 5em;
font-weight: bold;
}
#slogan {
margin-top: 1em;
margin-bottom: 1.5em;
color: black;
font-size: 2em;
}
#random-set {
height: 40vh;
background-color: white;
border: 0.5rem solid black;
}
#info {
display: flex;
flex-direction: column;
margin-top: auto;
}