Jump to content

MediaWiki:Templatestyles.css: Difference between revisions

removing fandom specific css + beautifying
imported>Explodabat
(testing a fix to the description or other items being compressed by the flexboxes in the infobox display)
(removing fandom specific css + beautifying)
Line 1: Line 1:
/* CSS for templates and such */
/* CSS for templates and such */
/* Styles by: NHeoShadow | Edited by smallketchup82 in 2020-2021*/
/* Styles originally by: NHeoShadow | Remade for use on the Galaxypedia by smallketchup82 */


/* For template cards, like VIP ship only, limited class, admin class, unreleased, etc.. */
/* For template cards, like VIP ship only, limited class, admin class, unreleased, etc.. */
div.TemplateRevision .container{
div.TemplateRevision .container {
background-color: var(--mainbgcolor);
    background-color: var(--mainbgcolor);
padding: 8px;
    padding: 8px;
font-family: Calibri;
    font-family: Calibri;
font-size: 14px;
    font-size: 14px;
border-top: 5px solid var(--mainbordercolorS);
    border-top: 5px solid var(--mainbordercolorS);
line-height: 18px;
    line-height: 18px;
box-shadow: 1px 1px 1px black;
    box-shadow: 1px 1px 1px black;
opacity: 0.90;
    opacity: 0.90;
transition: 0.5s;
    transition: 0.5s;
display: block;
    display: block;
cursor: default;
    cursor: default;
border-radius: 10px;
    border-radius: 10px;
}
}
div.TemplateRevision .container h1{
 
font-size: 26px;
div.TemplateRevision .container h1 {
font-variant: small-caps;
    font-size: 26px;
font-weight: bold;
    font-variant: small-caps;
margin: 0;
    font-weight: bold;
padding: 0;
    margin: 0;
display: block;
    padding: 0;
margin-top: -4px;
    display: block;
    margin-top: -4px;
}
}
div.TemplateRevision .container h3{
 
div.TemplateRevision .container h3 {
     font-size: 18px;
     font-size: 18px;
     font-weight: normal;
     font-weight: normal;
Line 32: Line 34:
     padding: 0;
     padding: 0;
     display: block;
     display: block;
}
div.TemplateRevision .container:hover{
opacity: 1;
}
}


/*Animated Horizontal Line CSS*/
div.TemplateRevision .container:hover {
.hrline {
    opacity: 1;
display: block;
position: relative;
left: 50%;
transition: all 1s none;
border-radius: 5px;
border-bottom: 5px solid transparent;
text-align: center;
}
.hrline {
border-bottom: 5px solid white;
width: 0%;
animation: line 1.5s cubic-bezier(0.85, 0, 0.15, 1) forwards;
}
}


@keyframes line {
/* Apply header styling to any element classed as a header--used for <p> or similar elements to avoid TOC errors */
  from {
.header1 {
left: 50%;
    font-size: 26px;
width: 0%;
    font-variant: small-caps;
opacity: 0;
    font-weight: bold;
  }
    margin: 1px !important;
  to {
    padding: 0;
left: 0%;
    display: block;
width: 100%;
    margin-top: -4px !important;
opacity: 1;
    line-height: 34px;
  }
}
}
/*End of animated horizontal line CSS*/


/*Apply header styling to any element classed as a header--used for <p> or similar elements to avoid TOC errors*/
.header3 {
.header1{
    font-size: 26px;
font-variant: small-caps;
font-weight: bold;
margin: 1px !important;
padding: 0;
display: block;
margin-top: -4px !important;
line-height: 34px;
}
.header3{
     font-size: 18px;
     font-size: 18px;
     font-weight: normal;
     font-weight: normal;
Line 86: Line 60:
}
}


/*enforce minimum width on infobox header to prevent flex item compression*/
/* enforce minimum width on infobox header to prevent flex item compression */
h3.pi-data-label.pi-secondary-font{
h3.pi-data-label.pi-secondary-font {
min-width: 90px;
    min-width: 90px;
}
 
/* Robloxwikis class */
/*
.RobloxWikis-Head{
    background-color: var(--mainbgcolor) !important;
    position: relative;
    box-shadow: 0px 1px 2.6px var(--mainbgcolor-dark);
    border: 1px solid #151617;
    z-index: 3;
}
 
.RobloxWikis-TableAll{
    background-color: var(--mainbgcolor) !important;
}
.RobloxWikis-TableAll a{
    color: var(--mainbordercolorS) !important;
}
.RobloxWikis-OddRow{
    background-color: var(--mainbordercolorP) !important;
    box-shadow: 0px 1px 3px #070809;
    display: block;
    position: relative;
    z-index: 3;
}
.RobloxWikis-EvenRow{
    background-color: var(--mainbgcolor-dark) !important;
    display: block;
}
.RobloxWikis{
    width: 99.6% !important;
    margin: 0 auto !important;
    border: 1px solid var(--mainbordercolorP);
    box-shadow: 0px 1px 2px black;
}
}
*/
Hey there! The Galaxypedia uses cookies to enhance your user experience. Press "More information" to learn more. Thank you, we hope you enjoy your stay!