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

120 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;
}
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;
}
#tuto-block {
height: 86.7vh;
background-color: white;
border: 0.5rem solid black;
}
#p-block {
height: 75%;
width: 75%;
position: absolute;
top: 55%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
justify-content: center;
text-align: center;
}
#picture-logo {
display: block;
margin: 0 auto;
}
#phrase-finale{
font-size:18pt;
color:red;
font-family:'Comic Sans MS';
}