MediaWiki

Difference between revisions of "Common.css"

From ACES

draft>DDElephant
(formtable)
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#cosmos-footer {
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined&display=swap');
height:auto!important;
 
#top-bar-right li:nth-last-child(2),
#page-content .mw-editsection,
.user-only
{
    display: none;
}
}
#cosmos-articleHeader-actions {
 
/* 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;
     display: none;
}
}
.cosmos-header__counter {
 
     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;
}
table.formtable th {
    text-align: left !important;
    font-weight: bold;
}
 
/* 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 {
display: block; /* in separate row */
    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;
}
}
#cosmos-banner {
 
     display: none;
/* MsUpload */
#msupload-dropzone, #msupload-bottom {
     height: auto;
}
}
body > #mw-content-container {
#msupload-list input.file-name-input {
     padding-top: unset;
     width: auto;
}
}
#cosmos-content-categories {
 
     display: none;
/* infoboxTable */
.infoboxTable tr td {
     word-break: break-word;
}
}
a.new{
table.infoboxTable tr th,
     color: red;
table.infoboxTable tr td {
     padding: 0.3rem 0.4rem;
}
}

Latest revision as of 19:45, 9 November 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;
}
table.formtable th {
    text-align: left !important;
    font-weight: bold;
}

/* 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 {
	display: block; /* in separate row */
    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;
}

/* MsUpload */
#msupload-dropzone, #msupload-bottom {
    height: auto;
}
#msupload-list input.file-name-input {
    width: auto;
}

/* infoboxTable */
.infoboxTable tr td {
    word-break: break-word;
}
table.infoboxTable tr th,
table.infoboxTable tr td {
    padding: 0.3rem 0.4rem;
}