Sousmargot/src/style.css

111 lines
1.7 KiB
CSS

body {
background-color: whitesmoke;
margin: 0;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding: 0 20px;
color: black;
}
nav h1 {
font-size: 2em;
border-bottom: 1px solid #000;
}
nav a {
color: black;
text-decoration: none;
}
.content {
margin: 10px;
}
button {
color: black;
padding: 4px;
box-shadow: 1px 1px 2px gray;
text-align: center;
display: inline-block;
border-radius: 5px;
background-color: white;
margin-top: 5px;
font-size: 0.8em;
width: auto;
transition: all 0.2s ease-out;
}
button:hover {
background-color: black;
color: white;
transition: all 0.2s ease-out;
}
.validate {
border: 2px solid green;
color: green;
}
.validate:hover {
background-color: green;
color: white;
}
.cancel {
border: 2px solid red;
color: red;
}
.cancel:hover {
background-color: red;
color: white;
}
.edit {
border: 2px solid orange;
color: orange;
}
.edit:hover {
background-color: orange;
color: white;
}
.boxed {
box-shadow: 2px 2px 5px gray;
border-left: 1rem solid black;
border-radius: 10px;
background-color: white;
}
.boxed-green {
box-shadow: 2px 2px 5px gray;
border-left: 1rem solid green;
border-radius: 10px;
background-color: white;
}
.hightlights {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 20px;
}
.hightlight > ul {
list-style-type: none;
display: flex;
flex-flow: column wrap;
padding-inline-start: 0;
margin-block-start: 0;
margin-block-end: 0;
}
.hightlight > ul > li {
margin: 5px;
flex-direction: column-reverse;
}
.hightlight > ul :first-child {
font-size: 2rem;
font-weight: bold;
text-align: center;
}
.hightlight > ul :last-child {
text-align: end;
}