MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
@font-face {
@font-face {
     font-family: "Ekatra";
     font-family: "Ekatra";
     src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Normal.ttf");
     src: url("/fonts/Ekatra-Normal.ttf");
}
}
@font-face {
@font-face {
     font-family: "Ekatra";
     font-family: "Ekatra";
     src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Bold.ttf");
     src: url("/fonts/Ekatra-Bold.ttf");
     font-weight: bold;
     font-weight: bold;
}
}
@font-face {
@font-face {
     font-family: "Ekatra";
     font-family: "Ekatra";
     src: url("https://wiki.ekatrafoundation.org/fonts/Ekatra-Italic.ttf");
     src: url("/fonts/Ekatra-Italic.ttf");
     font-style: italic;
     font-style: italic;
}
}
Line 188: Line 188:
}
}
#editpage-specialchars {
#editpage-specialchars {
     position: relative;
     position: sticky;
     transition: all 0.3s ease-in-out;
     top: 0;
    z-index: 1000;
    background-color: white;
    height: 50px;
    overflow-y: auto;
    overflow-x: hidden;
}
nav#p-coll-print_export {
    display: none;
}
}


.sticky-sidebar {
/* For Auto number in tables*/
    position: fixed;
 
    top: 0;
.wikitable.autonum tr td:first-child::before {
     right: 0;
     counter-increment: rownum;
     width: 200px;
     content: counter(rownum);
    height: 100%;
}
    z-index: 1000;
.wikitable.autonum {
    background-color: #f9f9f9;
     counter-reset: rownum;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
}