New services style
This commit is contained in:
parent
7bcbec7478
commit
4de5cb85d1
|
@ -444,6 +444,71 @@ ul#nav li a:hover .ul#nav li ul {
|
|||
margin: 5px auto;
|
||||
}
|
||||
|
||||
/* New services
|
||||
------------------------------------*/
|
||||
|
||||
.service-parent {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.service-parent p {
|
||||
text-align: justify;
|
||||
padding-left: 10%;
|
||||
padding-right: 10%;
|
||||
line-height: 15px;
|
||||
}
|
||||
|
||||
.service-parent h1 {
|
||||
margin-top: -10%;
|
||||
color: #50162D;
|
||||
padding: 2%;
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
||||
.service-item {
|
||||
display: inline-block;
|
||||
width: 30%;
|
||||
min-width: 150px;
|
||||
max-width: 200px;
|
||||
text-align: center;
|
||||
border: none;
|
||||
box-shadow: 10px 10px 38px 0px rgba(0, 0, 0, 0.25);
|
||||
margin-right: 5%;
|
||||
margin-top: 5%;
|
||||
margin-bottom: 5%;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
.service-item img {
|
||||
position: relative;
|
||||
width: 30%;
|
||||
max-width: 80px;
|
||||
transform: translate(0%, -50%);
|
||||
}
|
||||
|
||||
.service-btn {
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
top: 10px;
|
||||
width: 30%;
|
||||
background-color: #50162D;
|
||||
text-align: center;
|
||||
color: white;
|
||||
border-radius: 5px;
|
||||
text-decoration: none;
|
||||
padding: 2% 5%;
|
||||
transition: all 0.3s ease-in-out;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.service-btn:hover {
|
||||
background-color: #8EB726;
|
||||
color: #50162D;
|
||||
border-color: #50162D;
|
||||
}
|
||||
|
||||
/* clients
|
||||
------------------------------------*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue