2017-05-10 13:21:31 +00:00
|
|
|
body {
|
2017-05-11 09:08:30 +00:00
|
|
|
background-color: #f5f5f5;
|
|
|
|
color: #212121;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-05-10 13:21:31 +00:00
|
|
|
font-family: 'RobotoDraft', 'Roboto', 'Helvetica Neue, Helvetica, Arial', sans-serif;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 300;
|
|
|
|
font-size: 16px;
|
2017-05-11 09:08:30 +00:00
|
|
|
height: 100vh;
|
2017-05-10 13:21:31 +00:00
|
|
|
line-height: 1.4;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
text-rendering: optimizeLegibility;
|
|
|
|
}
|
2017-05-11 09:08:30 +00:00
|
|
|
body > section:last-of-type {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2017-05-10 13:21:31 +00:00
|
|
|
|
|
|
|
section {
|
|
|
|
padding: 1em 1em;
|
|
|
|
}
|
|
|
|
header h1 {
|
|
|
|
font-size: 4.0em;
|
|
|
|
margin: 20px 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
background-color: black;
|
|
|
|
color: white;
|
|
|
|
font-size: 0.9em;
|
|
|
|
font-style: italic;
|
|
|
|
padding: 20px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
footer a {
|
|
|
|
color: #f5f5f5;
|
|
|
|
}
|
|
|
|
|
|
|
|
#services h2 {
|
|
|
|
border-bottom: 2px solid black;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
}
|
|
|
|
#services ul {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
#services ul li {
|
|
|
|
background-color: #5c6bc0;
|
|
|
|
position: relative;
|
|
|
|
height: 230px;
|
|
|
|
list-style: none;
|
|
|
|
margin-bottom: .5em;
|
|
|
|
text-align: center;
|
|
|
|
width: 33%;
|
|
|
|
}
|
|
|
|
#services ul li:hover {
|
|
|
|
box-shadow: 1px 1px 4px black;
|
|
|
|
}
|
|
|
|
#services ul li:nth-child(6n+2) {
|
|
|
|
background-color: #e84e40;
|
|
|
|
}
|
|
|
|
#services ul li:nth-child(6n+3) {
|
|
|
|
background-color: #ec407a;
|
|
|
|
}
|
|
|
|
#services ul li:nth-child(6n+4) {
|
|
|
|
background-color: #ab47bc;
|
|
|
|
}
|
|
|
|
#services ul li:nth-child(6n+5) {
|
|
|
|
background-color: #7e57c2;
|
|
|
|
}
|
|
|
|
#services ul li:nth-child(6n+6) {
|
|
|
|
background-color: #738ffe;
|
|
|
|
}
|
|
|
|
#services ul li a {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
#services ul li img {
|
|
|
|
margin: 1em;
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
#services ul li span {
|
|
|
|
bottom: 20px;
|
|
|
|
color: white;
|
|
|
|
display: block;
|
|
|
|
font-size: 1.1em;
|
|
|
|
font-weight: bold;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-05-11 09:08:40 +00:00
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
#services ul li {
|
|
|
|
width: 49%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 399px) {
|
|
|
|
#services ul li {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|