משתמש:היהודי/common.css: הבדלים בין גרסאות בדף

מתוך אוצר הספרים היהודי השיתופי
קפיצה לניווט קפיצה לחיפוש
(החלפה)
מ (מערכת העביר את הדף משתמש:אחיה יאיר וודקה/common.css לשם משתמש:היהודי/common.css: העברה אוטומטית בעקבות שינוי שם המשתמש "אחיה יאיר וודקה" ל־"היהודי")
 
(5 גרסאות ביניים של משתמש אחר אחד אינן מוצגות)
שורה 1: שורה 1:
//MW:User:Remember the dot/Syntax highlighter
.law, #law-content, #law-content h1, #law-content h2, #law-content h3, #law-content h4 {
//mw.loader.load('//www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-DotsSyntaxHighlighter.js&action=raw&ctype=text/javascript');
    direction: rtl;
    text-align: justify;
    margin: 0 20px;
    font-size: 16px;
    line-height: 1.15;
    font-family: Alef2, sans-serif;
    border: none;
}


syntaxHighlighterConfig = {
h1.firstHeading > span.law {
     externalLinkColor: "#AFEEEE", //טורקיז חיוור עבור קישח"צ
     display: none;
    wikilinkColor: "#87CEEB", //כחול שמיים עבור קישורים
}
    headingColor: "#0020C2", //אפור עבור כותרות
    boldOrItalicColor: "#C0C0C0", //כסף עבור הדגשה ואיטליקס
    signatureColor: "#00FF00", //ירוק סיד עבור חתימה
    templateColor: "#eeccee", //סגול בהיר כלשהו עבור תבניות
};
//עד כאן צביעת קוד מקור


mw.loader.load('http://localhost/test.js' );
.law p {
    margin: 0 !important;
    line-height: inherit;
}


// סקריפט 62 של קיפודנחש
.law a, .law a[href].new, .law a[href].external, .law a[href].extiw {
$(function() {
    color: inherit;
var controls = '#wikieditor-toolbar-replace-search, #wikieditor-toolbar-replace-replace, #wikieditor-toolbar-replace-case, #wikieditor-toolbar-replace-regex';
    text-decoration: none;
$('body').on('change', controls, function() {
    background-image: none;
$this = $(this);
    padding: 0;
$.cookie($this.attr('id'),  
    border: none !important;
$(this).attr('type') == 'checkbox' ? ($this.prop('checked') ? 'checked' : '') : $(this).val(),  
}
{path: '/', expires: 30});
 
});
.law-local a:hover, .law a:hover {
$('body').on('dialogopen', '#wikieditor-toolbar-replace-dialog', function() {
    text-decoration: underline overline;
$.each(controls.split(/,\s*/), function(ind, name) {
    background-color: lightblue;
control = $(name); val = $.cookie(name.replace('#',''));
}
if (control.attr('type') == 'checkbox')
 
control.prop('checked', val);
.law-external a:hover, .law-external a.mw-redirect:hover, .law-external a[href].external:hover, .law-external a[href].extiw:hover {
else
    text-decoration: underline overline;
control.val(val);
    background-color: pink;
});
}
});
 
});
.law a.new:hover {
    background-color: inherit;
    text-decoration: none;
    color: red;
}
 
.law .selflink a:hover {
    text-decoration: underline dotted lightblue;
    background-color: inherit;
}
 
.law-title, #law-content h1.law-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    padding: 0;
}
 
.law-toc {
    columns: 2 auto;
    -moz-columns: 2 auto;
    -webkit-columns: 2 auto;
    text-align: right;
    padding-bottom: 1em;
}
 
.law-toc-1 {
    font-weight: bold;
    font-size: 110%;
    padding-top: 3px;
    padding-right: 25px;
    text-indent: -25px;
}
 
.law-toc-2 {
    margin-right: 25px;
    padding-top: 3px;
    padding-right: 25px;
    text-indent: -25px;
}
 
.law-toc-3 {
    font-size: 90%;
    margin-right: 50px;
    padding-right: 25px;
    text-indent: -25px;
}
 
.law-part, .law-section, .law-subsection, .law-subsubsection, #law-content h1, #law-content h2, #law-content h3, #law-content h4 {
    text-align: center;
    padding: 0 100px;
    font-weight: normal;
}
 
.law-part, #law-content h1 {
    font-size: 30px;
}
 
.law-section, #law-content h2 {
    font-size: 25px;
}
 
.law-subsection, #law-content h3 {
    font-size: 22px;
}
 
.law-subsubsection, #law-content h4 {
    font-size: 18px;
}
 
.law-indent {
    padding-right: 40px;
    text-indent: -40px;
}
 
.law-note {
    font-size: smaller;
    color: gray;
}
 
.law-desc > .law-note {
    line-height: 90%;
    letter-spacing: -0.03em;
}
 
div.law-note p {
    padding: 2px 0;
}
 
.law-sec-note {
    float: right;
    position: absolute;
    width: 95px;
    font-size: 10.5px;
    text-align: right;
    margin-top: 15px;
    margin-left: -95px;
    color: gray;
}
 
.law-desc, .law-sec-desc {
    float: right;
    width: 95px;
    font-size: smaller;
    text-align: right;
    margin-left: -95px;
    padding: 2px 0;
    line-height: 90%;
}
 
.law-sec-desc {
    margin-top: 0.5em;
    width: 135px;
    margin-left: -135px;
}
 
.law-main {
    margin: 0 140px 0 0;
    padding: 0;
}
 
.law-number, .law-number1, .law-number2, .law-number3, .law-number4, .law-number5, .law-number6, .law-number7 {
    float: right;
    text-align: right;
    white-space: nowrap;
    padding-right: 4px;
    margin-left: -2.5em;
    width: 2.2em;
    height: 0;
}
 
.law-number, .law-number1 {
    width: 2.5em;
    padding-right: 0;
    margin-right: 6.25em;
}
 
.law-number2 {
    margin-right: 0;
}
 
.law-number3 {
    margin-right: 2.5em;
}
 
.law-number4 {
    margin-right: 5.0em;
}
 
.law-number5 {
    margin-right: 7.5em;
}
 
.law-number6 {
    margin-right: 10.0em;
}
 
.law-number7 {
    margin-right: 12.5em;
}
 
.law-content:not(:empty), .law-content1:not(:empty), .law-content2:not(:empty), .law-content3:not(:empty), .law-content4:not(:empty), .law-content5:not(:empty), .law-content6:not(:empty), .law-content7:not(:empty) {
    padding-bottom: 4px;
}
 
.law-content, .law-content1 {
    margin-right: 0;
}
 
.law-content2 {
    margin-right: 2.5em;
}
 
.law-content3 {
    margin-right: 5.0em;
}
 
.law-content4 {
    margin-right: 7.5em;
}
 
.law-content5 {
    margin-right: 10.0em;
}
 
.law-content6 {
    margin-right: 12.5em;
}
 
.law-content7 {
    margin-right: 15.0em;
}
 
.law-signatures {
    text-align: center;
    margin-right: 100px;
}
 
.law-signatures ul {
    padding: 0;
    margin: 0;
    display: inline;
    list-style: none;
    width: 100%;
}
 
.law-signatures li {
    float: right;
    display: inline;
    list-style: none;
    width: 150px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 90%;
}
 
hr.law-separator {
    clear: both;
    text-align: center;
    padding-top: 1px;
    margin: 10px 50px 10px 50px;
}
 
.law-cleaner {
    clear: both;
    visibility: hidden;
    height: 4px;
}
 
.law table {
    font-size: 90%;
    text-align: initial;
    border: 1px solid #AAA;
    border-collapse: collapse;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
 
.law table td, .law table th {
    vertical-align: top;
    border: 1px solid #AAA;
}
 
.law table th {
    padding: 3px 3px;
    background-color: #F2F2F2;
    text-align: center;
    font-weight: normal;
}
 
.law table td {
    padding: 3px 10px;
    background-color: #F9F9F9;
}
 
.law del {
    background: #ffe6e6;
}
 
.law ins {
    background: #e6ffe6;
}

גרסה אחרונה מ־13:56, 19 במאי 2021

.law, #law-content, #law-content h1, #law-content h2, #law-content h3, #law-content h4 {
    direction: rtl;
    text-align: justify;
    margin: 0 20px;
    font-size: 16px;
    line-height: 1.15;
    font-family: Alef2, sans-serif;
    border: none;
}

h1.firstHeading > span.law {
    display: none;
}

.law p {
    margin: 0 !important;
    line-height: inherit;
}

.law a, .law a[href].new, .law a[href].external, .law a[href].extiw {
    color: inherit;
    text-decoration: none;
    background-image: none;
    padding: 0;
    border: none !important;
}

.law-local a:hover, .law a:hover {
    text-decoration: underline overline;
    background-color: lightblue;
}

.law-external a:hover, .law-external a.mw-redirect:hover, .law-external a[href].external:hover, .law-external a[href].extiw:hover {
    text-decoration: underline overline;
    background-color: pink;
}

.law a.new:hover {
    background-color: inherit;
    text-decoration: none;
    color: red;
}

.law .selflink a:hover {
    text-decoration: underline dotted lightblue;
    background-color: inherit;
}

.law-title, #law-content h1.law-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    padding: 0;
}

.law-toc {
    columns: 2 auto;
    -moz-columns: 2 auto;
    -webkit-columns: 2 auto;
    text-align: right;
    padding-bottom: 1em;
}

.law-toc-1 {
    font-weight: bold;
    font-size: 110%;
    padding-top: 3px;
    padding-right: 25px;
    text-indent: -25px;
}

.law-toc-2 {
    margin-right: 25px;
    padding-top: 3px;
    padding-right: 25px;
    text-indent: -25px;
}

.law-toc-3 {
    font-size: 90%;
    margin-right: 50px;
    padding-right: 25px;
    text-indent: -25px;
}

.law-part, .law-section, .law-subsection, .law-subsubsection, #law-content h1, #law-content h2, #law-content h3, #law-content h4 {
    text-align: center;
    padding: 0 100px;
    font-weight: normal;
}

.law-part, #law-content h1 {
    font-size: 30px;
}

.law-section, #law-content h2 {
    font-size: 25px;
}

.law-subsection, #law-content h3 {
    font-size: 22px;
}

.law-subsubsection, #law-content h4 {
    font-size: 18px;
}

.law-indent {
    padding-right: 40px;
    text-indent: -40px;
}

.law-note {
    font-size: smaller;
    color: gray;
}

.law-desc > .law-note {
    line-height: 90%;
    letter-spacing: -0.03em;
}

div.law-note p {
    padding: 2px 0;
}

.law-sec-note {
    float: right;
    position: absolute;
    width: 95px;
    font-size: 10.5px;
    text-align: right;
    margin-top: 15px;
    margin-left: -95px;
    color: gray;
}

.law-desc, .law-sec-desc {
    float: right;
    width: 95px;
    font-size: smaller;
    text-align: right;
    margin-left: -95px;
    padding: 2px 0;
    line-height: 90%;
}

.law-sec-desc {
    margin-top: 0.5em;
    width: 135px;
    margin-left: -135px;
}

.law-main {
    margin: 0 140px 0 0;
    padding: 0;
}

.law-number, .law-number1, .law-number2, .law-number3, .law-number4, .law-number5, .law-number6, .law-number7 {
    float: right;
    text-align: right;
    white-space: nowrap;
    padding-right: 4px;
    margin-left: -2.5em;
    width: 2.2em;
    height: 0;
}

.law-number, .law-number1 {
    width: 2.5em;
    padding-right: 0;
    margin-right: 6.25em;
}

.law-number2 {
    margin-right: 0;
}

.law-number3 {
    margin-right: 2.5em;
}

.law-number4 {
    margin-right: 5.0em;
}

.law-number5 {
    margin-right: 7.5em;
}

.law-number6 {
    margin-right: 10.0em;
}

.law-number7 {
    margin-right: 12.5em;
}

.law-content:not(:empty), .law-content1:not(:empty), .law-content2:not(:empty), .law-content3:not(:empty), .law-content4:not(:empty), .law-content5:not(:empty), .law-content6:not(:empty), .law-content7:not(:empty) {
    padding-bottom: 4px;
}

.law-content, .law-content1 {
    margin-right: 0;
}

.law-content2 {
    margin-right: 2.5em;
}

.law-content3 {
    margin-right: 5.0em;
}

.law-content4 {
    margin-right: 7.5em;
}

.law-content5 {
    margin-right: 10.0em;
}

.law-content6 {
    margin-right: 12.5em;
}

.law-content7 {
    margin-right: 15.0em;
}

.law-signatures {
    text-align: center;
    margin-right: 100px;
}

.law-signatures ul {
    padding: 0;
    margin: 0;
    display: inline;
    list-style: none;
    width: 100%;
}

.law-signatures li {
    float: right;
    display: inline;
    list-style: none;
    width: 150px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 90%;
}

hr.law-separator {
    clear: both;
    text-align: center;
    padding-top: 1px;
    margin: 10px 50px 10px 50px;
}

.law-cleaner {
    clear: both;
    visibility: hidden;
    height: 4px;
}

.law table {
    font-size: 90%;
    text-align: initial;
    border: 1px solid #AAA;
    border-collapse: collapse;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.law table td, .law table th {
    vertical-align: top;
    border: 1px solid #AAA;
}

.law table th {
    padding: 3px 3px;
    background-color: #F2F2F2;
    text-align: center;
    font-weight: normal;
}

.law table td {
    padding: 3px 10px;
    background-color: #F9F9F9;
}

.law del {
    background: #ffe6e6;
}

.law ins {
    background: #e6ffe6;
}