forked from web/portal
184 lines
2.8 KiB
CSS
184 lines
2.8 KiB
CSS
body {
|
|
color: #333;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
font-size: 1rem;
|
|
|
|
margin:0;
|
|
padding:0;
|
|
text-align:center;
|
|
display:block;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: #333;
|
|
}
|
|
|
|
/*
|
|
.item-box {
|
|
border-radius: 15px;
|
|
position: relative;
|
|
float: left;
|
|
|
|
border: 1px dashed gray;
|
|
width: 480px;
|
|
height: 140px;
|
|
background-color: #eee;
|
|
margin: 20px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.item-box .image-box {
|
|
width: 100px;
|
|
height: 100px;
|
|
float: left;
|
|
padding: 10px;
|
|
}
|
|
|
|
.item-box img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
margin: auto;
|
|
display: block;
|
|
}
|
|
|
|
h2 {
|
|
color: #009da5;
|
|
font-size: 26px;
|
|
font-weight: 500;
|
|
}
|
|
*/
|
|
|
|
#epframe {
|
|
margin: auto;
|
|
max-width: 900px;
|
|
display: block;
|
|
text-align: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.epsquare,
|
|
.epsquareplus {
|
|
width: 23%;
|
|
padding-bottom: 23%;
|
|
position: relative;
|
|
margin: 0.5%;
|
|
display: inline-block;
|
|
background-size: cover;
|
|
}
|
|
|
|
.epsquareplus {
|
|
padding-bottom: 0
|
|
}
|
|
|
|
.epsrect {
|
|
width: 23%;
|
|
padding-bottom: 32.2%;
|
|
background-color: none;
|
|
position: relative;
|
|
margin: 0.5%;
|
|
display: inline-block;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
border: 1px solid #ccc;
|
|
}
|
|
|
|
.eptextfunc {
|
|
width: 100%;
|
|
font-weight: bold;
|
|
position: absolute;
|
|
color: white;
|
|
bottom: 20%;
|
|
font-size: 1.35rem
|
|
}
|
|
|
|
.eptexttool {
|
|
width: 100%;
|
|
position: absolute;
|
|
color: white;
|
|
bottom: 8%;
|
|
}
|
|
|
|
.epcolwiki {
|
|
background-color: #009da5;
|
|
background-image: url(epwiki.png);
|
|
}
|
|
|
|
.epcolprojekte {
|
|
background-color: #889e33;
|
|
background-image: url(epprojekte.png);
|
|
}
|
|
|
|
.epcolmail {
|
|
background-color: #0099CC;
|
|
background-image: url(epmail.png);
|
|
}
|
|
|
|
.epcolmaillist {
|
|
background-color: #99CC00;
|
|
background-image: url(epmaillist.png);
|
|
}
|
|
|
|
.epcolcloud {
|
|
background-color: #3B6CA6;
|
|
background-image: url(epcloud.png);
|
|
}
|
|
|
|
.epcolsmartwe {
|
|
background-color: #E05656;
|
|
background-image: url(epsmartwe.png);
|
|
}
|
|
|
|
.epcolcode {
|
|
background-color: #40B075;
|
|
background-image: url(epcode.png);
|
|
}
|
|
|
|
.epcolforum {
|
|
background-color: #FF9900;
|
|
background-image: url(epforum.png);
|
|
}
|
|
|
|
@media only screen and (max-width: 900px) {
|
|
.epsquare {
|
|
width: 30%;
|
|
padding-bottom: 30%;
|
|
}
|
|
.epsrect {
|
|
width: 30%;
|
|
padding-bottom: 42%;
|
|
}
|
|
.epsquareplus {
|
|
width: 30%;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 640px) {
|
|
.epsquare {
|
|
width: 40%;
|
|
padding-bottom: 40%;
|
|
}
|
|
.epsrect {
|
|
width: 40%;
|
|
padding-bottom: 56%;
|
|
}
|
|
.epsquareplus {
|
|
width: 40%;
|
|
}
|
|
}
|
|
@media only screen and (max-width: 450px) {
|
|
.epsquare {
|
|
width: 50%;
|
|
padding-bottom: 50%;
|
|
margin: 1.5%;
|
|
}
|
|
.epsrect {
|
|
width: 50%;
|
|
padding-bottom: 70%;
|
|
margin: 1.5%;
|
|
}
|
|
.epsquareplus {
|
|
width: 50%;
|
|
margin: 1.5%;
|
|
}
|
|
}
|