MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
imported>Catweird Нет описания правки |
imported>Catweird Нет описания правки |
||
Строка 41: | Строка 41: | ||
font-style: normal; | font-style: normal; | ||
src: url('https://pvinis.github.io/iosevka-webfont/3.4.1/woff2/iosevka-regular.woff2') format('woff2'), url('woff/iosevka-regular.woff') format('woff'), url('ttf/iosevka-regular.ttf') format('truetype'); | src: url('https://pvinis.github.io/iosevka-webfont/3.4.1/woff2/iosevka-regular.woff2') format('woff2'), url('woff/iosevka-regular.woff') format('woff'), url('ttf/iosevka-regular.ttf') format('truetype'); | ||
} | |||
li { | |||
border-radius: 15px 15px 0px 0px; | |||
background-color: #fff; | |||
} | |||
table { | |||
border-collapse: separate; | |||
border-spacing: 0; | |||
width: 100%; | |||
} | |||
table tr th, | |||
table tr td { | |||
border-right: 2px solid #eee; | |||
border-bottom: 2px solid #eee; | |||
padding: 5px; | |||
border-color: #eee; | |||
background-color: white; | |||
} | |||
table tr th:first-child, | |||
table tr td:first-child { | |||
border-left: 1px solid #eee; | |||
} | |||
table tr th { | |||
background: #eee; | |||
border-top: 2px solid #eee; | |||
border: 2px solid #eee; | |||
text-align: left; | |||
} | |||
/* top-left border-radius */ | |||
table tr:first-child th:first-child { | |||
border-top-left-radius: 6px; | |||
} | |||
/* top-right border-radius */ | |||
table tr:first-child th:last-child { | |||
border-top-right-radius: 6px; | |||
} | |||
/* bottom-left border-radius */ | |||
table tr:last-child td:first-child { | |||
border-bottom-left-radius: 6px; | |||
} | |||
/* bottom-right border-radius */ | |||
table tr:last-child td:last-child { | |||
border-bottom-right-radius: 6px; | |||
} | } |
Версия от 22:51, 30 сентября 2021
.oo-ui-inputWidget-input, oo-ui-buttonElement-button {
border-radius: 15px;
}
.thumbimage {
border-radius: 10px;
}
.thumbinner {
background-color: #fff;
border-radius: 15px;
color: #000;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
* {
font-family: 'Roboto', sans-serif;
}
.toc {
background-color: #fff;
border-radius: 15px;
color: #000;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.mw-code, mw-css, pre {
background-color: #fff;
border-radius: 15px;
color: #000;
font-family: 'Iosevka Web'
box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@font-face {
font-family: 'Iosevka Web';
font-display: swap;
font-weight: 400;
font-stretch: normal;
font-style: normal;
src: url('https://pvinis.github.io/iosevka-webfont/3.4.1/woff2/iosevka-regular.woff2') format('woff2'), url('woff/iosevka-regular.woff') format('woff'), url('ttf/iosevka-regular.ttf') format('truetype');
}
li {
border-radius: 15px 15px 0px 0px;
background-color: #fff;
}
table {
border-collapse: separate;
border-spacing: 0;
width: 100%;
}
table tr th,
table tr td {
border-right: 2px solid #eee;
border-bottom: 2px solid #eee;
padding: 5px;
border-color: #eee;
background-color: white;
}
table tr th:first-child,
table tr td:first-child {
border-left: 1px solid #eee;
}
table tr th {
background: #eee;
border-top: 2px solid #eee;
border: 2px solid #eee;
text-align: left;
}
/* top-left border-radius */
table tr:first-child th:first-child {
border-top-left-radius: 6px;
}
/* top-right border-radius */
table tr:first-child th:last-child {
border-top-right-radius: 6px;
}
/* bottom-left border-radius */
table tr:last-child td:first-child {
border-bottom-left-radius: 6px;
}
/* bottom-right border-radius */
table tr:last-child td:last-child {
border-bottom-right-radius: 6px;
}