MediaWiki:Common.css: Difference between revisions

From Type III Secretion System Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 26: Line 26:
     box-shadow: 0 2px 2px rgba(0,0,0,0.1);
     box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
}
.mainpage_box.flex2 {
.flex2 {
     flex-grow: 2;
     flex-grow: 2;
}
}

Revision as of 09:51, 30 April 2019

/* CSS placed here will be applied to all skins */
.mainpage_row {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
.mainpage_column {
    flex: 1;
    display: flex;
    flex-direction: column;
    flex-flow: column wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.mainpage_box {
    flex: 1;
    margin: 5px;
    min-width: 210px;
    border: 1px solid #CCC;
    padding: 0 10px 10px 10px;
    box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
.flex2 {
    flex-grow: 2;
}