This repository has been archived on 2021-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
PicaPortal/main.css

214 lines
2.9 KiB
CSS
Raw Normal View History

/*--------+
| General |
---------*/
2020-05-08 13:22:57 +02:00
*{
margin: 0;
box-sizing: border-box;
}
2020-05-08 21:14:44 +02:00
html{
height: 100%;
}
2020-05-08 13:22:57 +02:00
body{
background-repeat: no-repeat;
background-size: cover cover;
background-attachment: fixed;
font-family: sans-serif;
2020-05-08 21:14:44 +02:00
height: 100%;
2020-05-08 13:22:57 +02:00
}
#content{
width: 80%;
min-height: 100%;
margin: auto;
margin-top: 80px;
background-color: white;
padding-right: 40px;
padding-left: 40px;
}
/*----------------------+
| Links to the services |
+----------------------*/
.cards{
2020-05-08 13:22:57 +02:00
display: flex;
justify-content: space-between;
2020-05-08 13:22:57 +02:00
flex-direction: row;
margin-top: 30px;
margin-bottom: 30px;
}
.card{
width: 30%;
}
.card a{
display: block;
2020-05-08 13:22:57 +02:00
background-color: #0e610e;
padding: 15px;
border-radius: 10px;
color: white;
font-weight: bold;
text-decoration: none;
transition: 0.5s;
width: 100%;
2020-05-08 13:22:57 +02:00
text-align: center;
margin-bottom: 10px;
2020-05-08 13:22:57 +02:00
}
.card a:hover{
2020-05-08 13:22:57 +02:00
background-color: #1b8c1b;
transform: scale(1.05);
2020-05-08 13:22:57 +02:00
}
.card img{
display: block;
width: 100%;
2020-05-08 13:22:57 +02:00
height: auto;
}
/*-----+
| Text |
+-----*/
2020-05-08 13:22:57 +02:00
h1{
text-align: center;
}
h1, h2, h3{
padding-top: 10px;
padding-bottom: 10px;
color: #080a4d;
2020-05-08 13:22:57 +02:00
}
2020-05-08 13:22:57 +02:00
p{
padding: 10px;
text-align: justify;
}
/*-------+
| Header |
+-------*/
header img{
height: auto;
width: 60px;
vertical-align: middle;
display: inline-block;
2020-05-08 13:22:57 +02:00
}
header{
padding: 10px;
background-color: #2c3e50;
color: white;
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 10;
}
header ul{
padding: 0;
list-style-type: none;
2020-05-08 21:14:44 +02:00
display: inline-block;
width: 50%;
2020-05-08 21:14:44 +02:00
}
header ul:last-child{
width: calc(50% - 60px);
text-align: right;
}
header li{
2020-05-08 21:14:44 +02:00
display: inline-block;
transition: 0.5s;
padding: 10px;
border-radius: 10px;
font-weight: bold;
2020-05-08 21:14:44 +02:00
}
header li:hover{
background-color: rgba(255, 255, 255, .3);
}
header a{
color: inherit;
text-decoration: inherit;
}
/*-------------+
| WB interface |
+-------------*/
#wb-interface a{
2020-05-08 21:14:44 +02:00
display: inline-block;
vertical-align: middle;
width: 40%;
2020-05-08 21:14:44 +02:00
text-align: center;
background-color: #0e610e;
padding: 15px;
border-radius: 10px;
color: white;
font-weight: bold;
text-decoration: none;
transition: 0.5s;
margin-right: 20%;
}
#wb-interface form{
2020-05-08 21:14:44 +02:00
display: inline-block;
vertical-align: middle;
width: 40%;
text-align: center;
2020-05-08 21:14:44 +02:00
}
#wb-interface a:hover{
2020-05-08 21:14:44 +02:00
background-color: #1b8c1b;
transform: scale(1.05);
}
/*------+
| Forms |
-------*/
input{
2020-05-08 21:14:44 +02:00
display: inline-block;
width: 100%;
2020-05-08 21:14:44 +02:00
margin-bottom: 15px;
}
2020-05-08 21:14:44 +02:00
input[type="submit"]{
background-color: #0e610e;
padding: 15px;
border-radius: 10px;
color: white;
font-weight: bold;
text-decoration: none;
transition: 0.5s;
text-align: center;
border: none;
}
2020-05-08 21:14:44 +02:00
input[type="submit"]:hover{
background-color: #1b8c1b;
transform: scale(1.05);
2020-05-08 21:14:44 +02:00
}
2020-05-08 21:14:44 +02:00
input[type="text"]{
padding: 10px;
border-radius: 10px;
text-decoration: none;
transition: 0.5s;
text-align: center;
border: solid #BFBFBF 3px;
}
2020-05-08 21:14:44 +02:00
input[type="text"]:hover, input[type="text"]:focus{
border: solid #999999 3px;
}