Difference between revisions of "MediaWiki:Tweeki.css"

From Internet Computer Wiki
Jump to: navigation, search
 
(50 intermediate revisions by the same user not shown)
Line 20: Line 20:
 
     font-style: italic;
 
     font-style: italic;
 
     border: 1px solid white;
 
     border: 1px solid white;
 +
}
 +
 +
body, html{
 +
scroll-padding-top: 100px !important;
 
}
 
}
  
Line 36: Line 40:
 
     margin-bottom: 25px;
 
     margin-bottom: 25px;
 
}
 
}
 
+
@media (max-width: 767px) {
 +
    h1 {
 +
        margin-top: 50px !important;
 +
    }
 +
}
 +
@media (max-width: 470px) {
 +
    h1 {
 +
        margin-top: 100px !important;
 +
    }
 +
}
 
h2 {
 
h2 {
     font-size: 28px;
+
     font-size: 32px;
 
     margin-top: 28px;
 
     margin-top: 28px;
 
     margin-bottom: 14px;
 
     margin-bottom: 14px;
 +
    border-bottom: 1px solid #292a2e;
 
}
 
}
  
 
h3 {
 
h3 {
     font-size: 22px;
+
     font-size: 26px;
 
     margin-top: 22px;
 
     margin-top: 22px;
 
     margin-bottom: 11px;
 
     margin-bottom: 11px;
Line 50: Line 64:
  
 
h4 {
 
h4 {
 +
    font-size: 20px;
 +
}
 +
 +
h5 {
 
     font-size: 16px;
 
     font-size: 16px;
 
     font-weight: 600;
 
     font-weight: 600;
 +
}
 +
 +
h6 {
 +
    font-size: 16px;
 +
}
 +
 +
.mw-body a:visited {
 +
  color: #3e7ec2 !important;
 +
}
 +
#content a.external[href ^="https://"] {
 +
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC) center right no-repeat;
 
}
 
}
  
Line 59: Line 88:
 
header .bg-light {
 
header .bg-light {
 
     background-color: #ffffff !important;
 
     background-color: #ffffff !important;
 +
}
 +
 +
#tweekiTOC #toc .active{
 +
color:#999 !important;
 +
}
 +
 +
.toc{
 +
font-size: 16px !important;
 
}
 
}
  
Line 107: Line 144:
 
     color: #292a2e;
 
     color: #292a2e;
 
     background-color: #ffffff;
 
     background-color: #ffffff;
}
 
 
.mw-body {
 
    margin-top: 100px;
 
 
}
 
}
  

Latest revision as of 15:35, 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: 32px;
    margin-top: 28px;
    margin-bottom: 14px;
    border-bottom: 1px solid #292a2e;
}

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

h4 {
    font-size: 20px;
}

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

h6 {
    font-size: 16px;
}

.mw-body a:visited {
  color: #3e7ec2 !important;
}
#content a.external[href ^="https://"] {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUeF59z4EJADEIQ1F36k7u5E7ZKXeUQPACJ3wK7UNokVxVk9kHnQH7bY9hbDyDhNXgjpRLqFlo4M2GgfyJHhjq8V4agfrgPQX3JtJQGbofmCHgA/nAKks+JAjFAAAAAElFTkSuQmCC) center right no-repeat;
}


/* 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;
}