guillaume.dott.fr/assets/application.css

83 lines
1.0 KiB
CSS
Raw Normal View History

2018-10-01 10:41:00 +02:00
* {
color: #222;
}
body {
background-color: #8EE4AF;
display: flex;
justify-content: center;
}
section {
width: 60%;
margin-left: 40px;
}
h1, p {
font-family: Verdana, Arial, Helvetica, sans-serif;
}
nav {
width: 200px;
}
nav > img {
width: 100%;
border-radius: 50%;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav li {
margin: 5px 0;
}
nav li a {
display: block;
background-color: #379683;
border-radius: 3px;
padding: 5px 0;
text-align: center;
width: 100%;
height: 100%;
color: #fff;
font-weight: bold;
text-decoration: none;
font-family: Helvetica, Arial, sans-serif;
}
nav li a:hover {
background-color: #05386B;
}
article {
padding: 20px;
background-color: #EDF5E1;
border-radius: 4px;
border: 1px solid #379683;
}
article p:first-child {
margin-top: 0;
}
article p:last-child {
margin-bottom: 0;
}
@media (max-width: 600px) {
body {
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
section {
margin: auto;
width: 90%;
}
}