MediaWiki

Difference between revisions of "Common.css"

From ACES

Line 93: Line 93:
     text-align: center;
     text-align: center;
     width: fit-content;
     width: fit-content;
    margin-bottom: 2em;
     margin-left: 1em;
     margin-left: 1em;
     margin-right: 1em;
     margin-right: 1em;

Revision as of 17:58, 27 September 2021

@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined&display=swap');

#top-bar-right li:nth-last-child(2), 
#page-content .mw-editsection,
.user-only
{
    display: none;
}

/* wikitable */
.wikitable{
    border-collapse: collapse;
}
.wikitable > tr > th, .wikitable > tr > td, 
.wikitable > * > tr > th, 
.wikitable > * > tr > td 
{
    border: 1px solid #a2a9b1;
    padding: 0.2em 0.4em;
}
body .wikitable > tr > th, 
body .wikitable > * > tr > th 
{
    background-color: #eaecf0;
    text-align: center;
}

#cosmos-footerContent-footerLinks
{
    float: left;
}

.catlinks-allhidden 
{
    display: none;
}

.cosmos-header__sitename a:after{
	content: "Adaptive Computing and Embedded Systems";
    padding-left: .5em;
    font-size: .6em
}

img:not(table img) {
	max-width: 100%;
	height: auto;
}

/* --------- formtable --------- */
.formtable .inputSpan {
    width: 100%;
    box-sizing: border-box;
}
.formtable input, .formtable select {
    width: 100%;
    box-sizing: border-box;
}
.formtable td, .formtable th {
    padding-right: 1em;
    vertical-align: top;
}

/* remove mainpage title */
/*
.mainpage #firstHeading,
.mainpage #tagline
{
	display: none;
}
*/

/* --------- List with boxes floating left --------- */
.list-with-float ul {
    list-style: outside disc;
    margin-left: 1em;
}
.list-with-float ul li {
    position: relative;
    left: 1em;
    padding-right: 1em;    
}

/* --------- toc styling --------- */
#mw-toc-heading {
	margin-top: 0;
}
#toc, .toc {
    margin-top: 0
}

/* --------- People --------- */
.avatar {
    text-align: center;
    width: fit-content;
    margin-left: 1em;
    margin-right: 1em;
    min-height: 16em;
}
.avatar .avatar-row {
    display: block;
    max-width: 170px;
}
.avatar .avatar-img img {
    height: 150px;
    width: 150px;
    border-radius: 150px;
    margin-bottom: 1em;
}
.avatar-text {
    text-align: center;
}
.avatar .avatar-name {
    font-size: 1.2em;
    max-width: 150px;
    margin: 0 auto;
}
.avatar .avatar-title {
    display: block;
    max-width: 150px;
    margin: 0 auto;
}
.people {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-left: -1em;
    margin-right: -1em;
}
.people>div {
    /*margin: 0 1em 1em 1em;*/
}
.people h3 {
    text-align: center;
    margin-bottom: 1em;
    display:flex;
    flex-direction: column;
}
.people .people-list{
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.people .mw-editsection {
    display: block
}
.people .ve-ce-branchNode-slug {
	display:none;
}

.material-icons-outlined {
    vertical-align: text-bottom;
}

/* Top nav bar */
#navwrapper {
	/*z-index: 500;*/
}
a#actions-button {
	z-index: auto;
}

/* research page grid */
.research-grid {
	display:grid;
    grid-template-columns: 2fr 5fr;
    grid-gap: 1em;
}
.research-grid>*{
	margin-bottom: 1em
}
.research-grid .ve-ce-branchNode-slug {
	display:none;
}