Template:Shortcut/styles.css: Difference between revisions

    From Nonbinary Wiki
    (from sandbox)
     
    (2 intermediate revisions by one other user not shown)
    Line 1: Line 1:
    /* {{pp-template}} */
    /* {{pp-template}} */
    .module-shortcutboxplain {
    .module-shortcutboxplain {
    float: right;
    margin: 0 0 0 1em;
    border: 1px solid #aaa;
    border: 1px solid #aaa;
    background: #fff;
    background: #fff;
    Line 6: Line 8:
    text-align: center;
    text-align: center;
    font-size: 85%;
    font-size: 85%;
    font-weight: bold;
    }
    .module-shortcutboxplain:not(.module-shortcutboxleft) {
    float: right;
    margin-left: 1em;
    }
    }


    .module-shortcutboxleft {
    .module-shortcutboxleft {
    float: left;
    float: left;
    margin-right: 1em;
    margin: 0 1em 0 0;
    }
    }


    Line 23: Line 19:
    border-bottom: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    margin-bottom: 0.2em;
    margin-bottom: 0.2em;
    font-weight: normal;
    }
     
    .module-shortcutboxplain > ul {
    font-weight: bold;
    }
    }


    Line 33: Line 32:
    li .module-shortcutanchordiv {
    li .module-shortcutanchordiv {
    float: right; /* IE/Edge in list items */
    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;
    }