MediaWiki

Common.css

From ACES

Revision as of 13:46, 24 September 2021 by Yid010 (talk | contribs)

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined&display=swap');

#top-bar-right li:nth-last-child(2), 
.mw-editsection
{
    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-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    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-wrap: wrap;
}
.people>div {
    margin: 0 1em 1em 1em
}
.people h3 {
    text-align: center;
    margin-bottom: 1em;
}
.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;
}