Difference between revisions of "MediaWiki:Tweeki.css"

From Internet Computer Wiki
Jump to: navigation, search
Line 75: Line 75:
 
}
 
}
  
a.external{
+
#content a.external[href^="https://"], .link-https{
 
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=) center right no-repeat !important;
 
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=) center right no-repeat !important;
 
}
 
}

Revision as of 12:10, 2 February 2022

/* CSS placed here will affect users of the Tweeki skin */

/* General */

.gridexample {
    border: 1px solid #ffffff;
    min-height: 10px;
    margin-bottom: 20px;
}

.gridexample .content {
    background-color: #ffffff;
    min-height: 50px;
    margin-top: 3px;
    margin-bottom: 3px;
    font-size: smaller;
    text-align: center;
    padding-top: 10px;
    color: #666;
    font-style: italic;
    border: 1px solid white;
}

body, html{
	scroll-padding-top: 100px !important;
}

body {
    font-family: Manrope, sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
    color: #292a2e;
    font-size: 16px;
    line-height: 26px;
}

h1 {
    font-size: 40px;
    line-height: 60px;
    margin-bottom: 25px;
}
@media (max-width: 767px) {
    h1 {
        margin-top: 50px !important;
    }
}
@media (max-width: 470px) {
    h1 {
        margin-top: 100px !important;
    }
}
h2 {
    font-size: 28px;
    margin-top: 28px;
    margin-bottom: 14px;
}

h3 {
    font-size: 22px;
    margin-top: 22px;
    margin-bottom: 11px;
}

h4 {
    font-size: 16px;
    font-weight: 600;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 16px;
}

#content a.external[href^="https://"], .link-https{
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAVklEQVR4Xn3PgQkAMQhDUXfqTu7kTtkpd5RA8AInfArtQ2iRXFWT2QedAfttj2FsPIOE1eCOlEuoWWjgzYaB/IkeGOrxXhqB+uA9Bfcm0lAZuh+YIeAD+cAqSz4kCMUAAAAASUVORK5CYII=) center right no-repeat !important;
}
.mw-body-content a.interwiki:visited {
  color: #6C84FF !important;
}
.mw-body-content a.external:visited{
  color: #6C84FF !important;
}


/* Specific */

header .bg-light {
    background-color: #ffffff !important;
}

#tweekiTOC #toc .active{
	color:#999 !important;
}

.toc{
	font-size: 16px !important;
}

.navbar-brand img {
    margin-top: 0px;
}

.mw-head {
    color: #292a2e;
    background-color: #ffffff;
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar {
    background-color: #ffffff;
    color: #292a2e;
    font-size: 16px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar-default {
    background-image: none;
    background-color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075);
}

.navbar-nav {
    background-color: #ffffff;
}

.navbar-brand {
    background-color: #ffffff;
    color: #292a2e;
    font-style: italic;
    font-weight: 600;
    font-size: 16px;
}

.navbar-default .navbar-nav>li>a {
    color: #292a2e;
    background-color: #ffffff;
}

.navbar-default .navbar-brand {
    color: #292a2e;
    background-color: #ffffff;
}

.page-header {
    border: none;
}

.firstHeading {
    text-align: start;
    font-weight: 700;
}

div.thumbinner {
    border: none;
    background-color: #ffffff;
}

#tweekiTOC {
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.9);
}

.toc {
    font-size: 18px;
    border: none;
    background-color: #ffffff;
    background-color: rgba(255, 255, 255, 0);
}


/* Infobox template style tweeki */

.infobox {
    border: 1px solid #f8f9fa;
    border-spacing: 3px;
    background-color: #f8f9fa;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    font-size: 88%;
    line-height: 1.5em;
    width: 100%;
    border-radius: 10px;
    padding: 10px;
}

@media (min-width: 1140px) {
    .infobox {
        width: 50%;
    }
}

.infobox-above {
    background-color: #292a2e !important;
    color: #FFFFFF;
    padding: 10px;
    border-radius: 10px 10px 0 0;
}

.infobox-header {
    background-color: #eaecf0 !important;
    padding: 5px;
}

.infobox th,
.infobox td {
    padding: 10px;
}

.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox th,
.infobox td {
    vertical-align: top;
}

.infobox-label,
.infobox-data,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox th,
.infobox td {
    /* @noflip */
    text-align: left;
}


/* Remove .infobox when element selectors above are removed */

.infobox .infobox-above,
.infobox .infobox-title,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox caption {
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}

.infobox-title,

/* Remove element selector when every .infobox thing is using the standard module/templates  */

.infobox caption {
    padding: 0.2em;
}


/* Remove .infobox when element selectors above are removed */

.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
    text-align: center;
}


/* Remove .infobox when element selectors above are removed */

.infobox .infobox-navbar {
    /* @noflip */
    text-align: right;
}