User:Tark/common.css: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
/******* Start "scroll to top" button *******/
@keyframes tfwikiScrollUpFadeIn {
    from {
        opacity: 0;
    }
    to {
    /* same as #tfwiki-scrollup */
        opacity: 0.7;
    }
}
#tfwiki-scrollup {
    position: fixed;
    bottom: 24px;
    left: 18px;
    opacity: 0.7;
    cursor: pointer;
    display: none;
    width: 50px;
    height: 50px;
    animation: tfwikiScrollUpFadeIn 1s;
}
/******* End "scroll to top" button *******/
#pt-userpage a,
#pt-userpage a,
#pt-anonuserpage a,
#pt-anonuserpage a,

Latest revision as of 14:23, 26 June 2023

/******* Start "scroll to top" button *******/
@keyframes tfwikiScrollUpFadeIn {
     from {
         opacity: 0;
    }
     to {
     	/* same as #tfwiki-scrollup */
         opacity: 0.7;
    }
}

 #tfwiki-scrollup {
     position: fixed;
     bottom: 24px;
     left: 18px;
     opacity: 0.7;
     cursor: pointer;
     display: none;
     width: 50px;
     height: 50px;
     animation: tfwikiScrollUpFadeIn 1s;
}

/******* End "scroll to top" button *******/

#pt-userpage a,
#pt-anonuserpage a,
#pt-login a {
	background-image: url(https://i2.theportalwiki.net/img/b/b4/Icon_Tiny_Cube.png) !important;
	background-position-y: 6px !important;
}


/* Code for div-based collapsing
 * From [[wikipedia:MediaWiki:Common.css]] */
div.NavFrame {
    margin: 0;
    padding: 4px;
    border: 1px solid #79542B;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #F3A957; /* Level 1 color */
    position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0;
    padding: 0;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position: absolute;
    top: 0;
    right: 3px;
    font-weight: normal;
    font-size: 90%;
}

/* End */
.collapsibleDiv {
    overflow: hidden;
}
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Tnavbar]],   */
}