Template:Main page/styles.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 144: | Line 144: | ||
flex: 1; | flex: 1; | ||
margin: 5px; | margin: 5px; | ||
min-width: | min-width: 300px; | ||
border: 1px solid #CCC; | border: 1px solid #CCC; | ||
padding: 0 10px 10px 10px; | padding: 0 10px 10px 10px; |
Latest revision as of 10:10, 5 November 2019
.mainpage_topbox {
background: #f9f9f9;
margin: 1em 0;
}
.mainpage_layouttable {
border: 0;
margin: 0;
width: 100%;
border-spacing: 10px;
}
.mainpage_layouttable * > tr > td {
vertical-align: top;
}
.mainpage_boxtitle {
font-size: 175%;
padding: 0.4em;
background-color: #eeeeee;
font-weight: bold;
min-height: 2em;
vertical-align: middle;
}
.mainpage_pagetitle {
color: #cf7606;
font-size: 200%;
padding: 0.2em 0.4em;
}
.mainpage_sitelinks {
padding: 0.2em;
text-align: center;
background-color: white;
font-weight: bold;
}
.mainpage_hubtitle {
text-align: center;
}
.mainpage_boxcontents {
background: #ffffff;
padding: 0.2em 0.4em;
}
.mainpage_boxcontents_small {
font-size: 95%;
}
.mainpage_boxcontents_title {
display: block;
border-bottom: 1px solid #AAA;
margin-bottom: 0.5em;
text-align: center;
font-weight: bold;
font-size: larger;
}
.mainpage_middleblock .mainpage_hubbox {
width: 33%;
}
.mainpage_hubbox, .mainpage_topbox {
padding: 0;
border: 1px solid #aaaaaa;
}
.mainpage_row2,
.mainpage_row3 {
/*display: -webkit-box;*/
/*display: -moz-box;*/
/*display: -ms-flexbox;*/
/*display: -webkit-flex;*/
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin: 1em 0;
}
@media screen and (min-width: 45em) {
.mainpage_row2 .mainpage_hubbox {
box-sizing: border-box;
float: left;
width: 32%;
}
}
@media screen and (max-width: 45em) {
.mainpage_row2 .mainpage_hubbox {
box-sizing: border-box;
flex: 1 0 100%;
width: 100%;
margin: 0.5em 0
}
}
@media screen and (min-width: 45em) {
.mainpage_row3 .mainpage_hubbox {
box-sizing: border-box;
float: left;
}
.mainpage_row3 .mainpage_downloadcell {
flex: 1 2 15em;
min-width: 10em;
max-width: 20em;
}
.mainpage_row3 .mainpage_newscell {
flex: 6 0 20em;
margin-left: 1em;
}
.mainpage_row3 .mainpage_opportunitiescell {
flex: 1 2 15em;
min-width: 10em;
max-width: 20em;
}
}
@media screen and (max-width: 45em) {
.mainpage_row3 .mainpage_hubbox {
box-sizing: border-box;
flex: 1 0 100%;
width: 100%;
margin: 0.5em 0;
}
}
@media screen and (max-width: 55em) {
.mainpage_row3 .mainpage_newscell {
order: -1;
flex: 1 0 100%;
width: 100%;
margin-left: 0;
}
}
.mainpage_row {
display: flex;
flex-direction: row;
flex-flow: row wrap;
justify-content: space-between;
padding: 0;
margin: 0;
}
.mainpage_box {
flex: 1;
margin: 5px;
min-width: 300px;
border: 1px solid #CCC;
padding: 0 10px 10px 10px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.mainpage_box h3 {
margin: 0.5em 0 0.5em 0;
}
.mainpage_box h3 .header_icon {
float:left;
margin-right: 5px;
}
.mainpage_box .items {
border-top: 1px solid #CCC;
padding-top: 0.5em;
}
.mainpage_boxcontents_small {
font-size: 95%;
}