MediaWiki:Cosmos.css: Difference between revisions

From Trollpasta Wiki
Jump to navigationJump to search
Content added Content deleted
mNo edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 85: Line 85:
border: 1px solid #0763a0;
border: 1px solid #0763a0;
border-radius: 5px;
border-radius: 5px;
}
body > #mw-content-container {
padding-top: 4%
}
#cosmos-toolbar {
position: fixed;
z-index: 399;
right: 0px;
bottom: 0px;
display: flex;
width: fit-content;
max-width: 70%;
height: auto;
min-height: 25px;
align-items: center;
padding: 5px;
margin: 0;
background-color: #3a5091;
border-radius: 5px 0px 0px 0px;
float: right;
}
}
#cosmos-banner {
#cosmos-banner {
Line 90: Line 110:
z-index: 1000;
z-index: 1000;
top: 0;
top: 0;
left: 60%;
left: 0;
width: 40%;
width: 100%;
height: 55px;
height: 42px;
padding: 0;
padding: 0;
margin: 0;
margin: 0;
background-color: #4293c7;
background-color: #0a4266;
font-size: 15px;
font-size: 15px;
}
.cosmos-userButton-label {
display: block;
margin-top: 4px;
color: #ffffff;
font-size: 18px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
white-space: nowrap;
}
#cosmos-userButton-avatar > img {
width: 25px;
height: 25px;
border: 2px solid #ffffff;
border-radius: 16px;
}
#pt-notifications-notice .mw-echo-notifications-badge {
top: 0;
width: 23px;
height: 23px;
}
#searchform input {
left: auto;
width: 100%;
height: 25px;
padding: 2px 10px;
border: 0;
margin: 0;
-webkit-appearance: none;
background: rgba(0,0,0,0.4);
border-radius: 0;
box-shadow: none;
color: #ffffff;
outline: 0;
transition: background 250ms ease;
}
/* Make comment box provided by comments extension look better */
select, .site-button {
background-color: #ffffff;
border: 1px solid #0763a0;
border-radius: 5px;
font-weight: bold;
padding: 5px 12px;
}
select {
padding-right: 0;
}
.c-form-title {
margin-top: -20px;
}
.c-order {
float: right;
padding: 0;
padding-bottom: 5px
}
#allcomments {
margin-top: 10px;
}
.c-item {
position: relative;
border-bottom: 0px;
padding: 0px 0px 35px 0px;
margin: 0px 0px 15px 0px;
}
}

Latest revision as of 04:40, 29 August 2023

/* All CSS here will be loaded for users of the Cosmos skin */

#mw-content {
    position: relative;
    z-index: 1;
    min-height: 250px;
    padding: 0px 20px;
    border: 0;
    word-wrap: break-word;
}
#cosmos-header-articleHeader {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: normal;
}
.CosmosRail .module {
    position: relative;
    padding: 2px;
    margin-bottom: 30px;
    background: transparent;
    word-wrap: break-word;
    zoom: 1;
}
#firstHeading {
    display: flex;
    align-items: center;
    padding: 2px 0;
}
#cosmos-articleHeader-actions .cosmos-button {
     height: 15px;
     margin-right: 5px
}
.cosmos-button.cosmos-button-secondary {
    color: #000000;
    stroke: #000000;
    background-color: white;
    stroke-width: 2px;
}
#cosmos-page-header {
     padding: 15px 0 10px 0;
     under
}
.page-header__categories {
     display:none
}
.CosmosRail .module {
    background-color: white;
    border-radius: 5px;
    padding: 0;
}
.CosmosRail .module h3 {
    background-color: #086cac;
    color: white;
    border: none;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 8px;
    padding: 8px;
}
.CosmosRail .recentchanges-module li {
    padding-left: 8px;
    padding-right: 8px;
}
.cosmos-header {
	border-radius: 10px 10px 0 0;
}
.cosmos-header::before {
	background: none;
}
#cosmos-footer {
	border-radius: 0 0 10px 10px;
}
#cosmos-header-articleHeader {
	border-bottom: 1px solid #a3aab2;
}
div.thumbinner .thumbcaption {
    padding: 5px;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    color: #3a3a3a;
}
#catlinks {
    background: #ffffff;
    border: 1px solid #0763a0;
    border-radius: 5px;
}
body > #mw-content-container {
     padding-top: 4%
}
#cosmos-toolbar {
    position: fixed;
    z-index: 399;
    right: 0px;
    bottom: 0px;
    display: flex;
    width: fit-content;
    max-width: 70%;
    height: auto;
    min-height: 25px;
    align-items: center;
    padding: 5px;
    margin: 0;
    background-color: #3a5091;
    border-radius: 5px 0px 0px 0px;
    float: right;
}
#cosmos-banner {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 42px;
    padding: 0;
    margin: 0;
    background-color: #0a4266;
    font-size: 15px;
}
.cosmos-userButton-label {
    display: block;
    margin-top: 4px;
    color: #ffffff;
    font-size: 18px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}
#cosmos-userButton-avatar > img {
    width: 25px;
    height: 25px;
    border: 2px solid #ffffff;
    border-radius: 16px;
}
#pt-notifications-notice .mw-echo-notifications-badge {
    top: 0;
    width: 23px;
    height: 23px;
}
#searchform input {
    left: auto;
    width: 100%;
    height: 25px;
    padding: 2px 10px;
    border: 0;
    margin: 0;
    -webkit-appearance: none;
    background: rgba(0,0,0,0.4);
    border-radius: 0;
    box-shadow: none;
    color: #ffffff;
    outline: 0;
    transition: background 250ms ease;
}
/* Make comment box provided by comments extension look better */
select, .site-button {
    background-color: #ffffff;
    border: 1px solid #0763a0;
    border-radius: 5px;
    font-weight: bold;
    padding: 5px 12px;
}
select {
    padding-right: 0;
}
.c-form-title {
    margin-top: -20px;
}
.c-order {
    float: right;
    padding: 0;
    padding-bottom: 5px
}
#allcomments {
    margin-top: 10px;
}
.c-item {
    position: relative;
    border-bottom: 0px;
    padding: 0px 0px 35px 0px;
    margin: 0px 0px 15px 0px;
}