MediaWiki

Common.css

From ACES

Revision as of 03:36, 15 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&display=swap');

.user-anon #top-bar-right li:nth-last-child(2){
    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;
}
*/

/* --------- People --------- */
.avatar {
    text-align: center;
    width: fit-content;
    margin-bottom: 2em;
}
.avatar .avatar-img {
    display: block;
}
.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;
    display: block;
    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
}