MediaWiki

Difference between revisions of "Common.css"

From ACES

Tag: Reverted
(formtable)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
@import url('https://fonts.googleapis.com/icon?family=Material+Icons&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Outlined&display=swap');


.user-anon #top-bar-right li:nth-last-child(2){
#top-bar-right li:nth-last-child(2),
#page-content .mw-editsection,
.user-only
{
     display: none;
     display: none;
}
}
Line 56: Line 59:
     padding-right: 1em;
     padding-right: 1em;
     vertical-align: top;
     vertical-align: top;
}
table.formtable th {
    text-align: left !important;
    font-weight: bold;
}
}


Line 66: Line 73:
}
}
*/
*/
/* --------- 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 --------- */
/* --------- People --------- */
Line 71: Line 97:
     text-align: center;
     text-align: center;
     width: fit-content;
     width: fit-content;
    margin-bottom: 2em;
     margin-left: 1em;
     margin-left: auto;
     margin-right: 1em;
     margin-right: auto;
     min-height: 16em;
     min-height: 16em;
}
}
.avatar .avatar-img {
.avatar .avatar-row {
     display: block;
     display: block;
    max-width: 170px;
}
}
.avatar .avatar-img img {
.avatar .avatar-img img {
Line 89: Line 115:
}
}
.avatar .avatar-name {
.avatar .avatar-name {
display: block; /* in separate row */
     font-size: 1.2em;
     font-size: 1.2em;
     max-width: 150px;
     max-width: 150px;
    margin: 0 auto;
}
.avatar .avatar-title {
     display: block;
     display: block;
    max-width: 150px;
     margin: 0 auto;
     margin: 0 auto;
}
}
.people {
.people {
     display: flex;
     display: flex;
    flex-direction: column;
     flex-wrap: wrap;
     flex-wrap: wrap;
    margin-left: -1em;
    margin-right: -1em;
}
}
.people>div {
.people>div {
     margin: 0 1em 1em 1em
     /*margin: 0 1em 1em 1em;*/
}
}
.people h3 {
.people h3 {
     text-align: center;
     text-align: center;
     margin-bottom: 1em;
     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 {
.people .mw-editsection {
     display: block
     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;
}
}


/* --------- List with boxes floating left --------- */
/* MsUpload */
ul {
#msupload-dropzone, #msupload-bottom {
     list-style: outside disc;
     height: auto;
    margin-left: 1em;
}
}
ul li {
#msupload-list input.file-name-input {
     position: relative;
     width: auto;
    left: 1em;
    padding-right: 1em;  
}
}


/* --------- toc styling --------- */
/* infoboxTable */
#mw-toc-heading {
.infoboxTable tr td {
margin-top: 0;
    word-break: break-word;
}
}
#toc, .toc {
table.infoboxTable tr th,
     margin-top: 0
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;
}