Template:Shortcut/styles.css: Difference between revisions

    From Nonbinary Wiki
    (create styles based on :css in Module:Shortcut)
     
     
    (9 intermediate revisions by 5 users not shown)
    Line 1: Line 1:
    .shortcutbox {
    /* {{pp-template}} */
    float:right;
    .module-shortcutboxplain {
    border:1px solid #aaa;
    float: right;
    background:#fff;
    margin: 0 0 0 1em;
    margin:0 0 0 1em;
    border: 1px solid #aaa;
    padding:.3em .6em .2em .6em;
    background: #fff;
    text-align:center;
    padding: 0.3em 0.6em 0.2em 0.6em;
    font-size:85%;
    text-align: center;
    font-weight:bold
    font-size: 85%;
    }
    }


    .shortcutlist {
    .module-shortcutboxleft {
    display:inline-block;
    float: left;
    border-bottom:1px solid #aaa;
    margin: 0 1em 0 0;
    margin-bottom:.2em;
    font-weight: normal;
    }
    }


    .shortcutanchor {
    .module-shortcutlist {
    position:relative;
    display: inline-block;
    top:-3em;
    border-bottom: 1px solid #aaa;
    margin-bottom: 0.2em;
    }
     
    .module-shortcutboxplain > ul {
    font-weight: bold;
    }
     
    .module-shortcutanchordiv {
    position: relative;
    top: -3em;
    }
     
    li .module-shortcutanchordiv {
    float: right; /* IE/Edge in list items */
    }
     
    .mbox-imageright .module-shortcutboxplain {
    padding: 0.4em 1em 0.4em 1em;
    line-height: 1.3;
    }
    }

    Latest revision as of 11:40, 21 May 2021

    /* {{pp-template}} */
    .module-shortcutboxplain {
    	float: right;
    	margin: 0 0 0 1em;
    	border: 1px solid #aaa;
    	background: #fff;
    	padding: 0.3em 0.6em 0.2em 0.6em;
    	text-align: center;
    	font-size: 85%;
    }
    
    .module-shortcutboxleft {
    	float: left;
    	margin: 0 1em 0 0;
    }
    
    .module-shortcutlist {
    	display: inline-block;
    	border-bottom: 1px solid #aaa;
    	margin-bottom: 0.2em;
    }
    
    .module-shortcutboxplain > ul {
    	font-weight: bold;
    }
    
    .module-shortcutanchordiv {
    	position: relative;
    	top: -3em;
    }
    
    li .module-shortcutanchordiv {
    	float: right; /* IE/Edge in list items */
    }
    
    .mbox-imageright .module-shortcutboxplain {
    	padding: 0.4em 1em 0.4em 1em;
    	line-height: 1.3;
    }