MediaWiki:Common.css: различия между версиями
Перейти к навигации
Перейти к поиску
imported>Catweird Нет описания правки |
imported>Catweird Нет описания правки |
||
Строка 2: | Строка 2: | ||
border-radius: 15px; | border-radius: 15px; | ||
} | } | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap'); | |||
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap'); | |||
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap'); | |||
button { | |||
margin: 15px; | |||
padding: 1.5%; | |||
font-size: 105%; | |||
border: 2px solid white; | |||
border-radius: 15px; | |||
background-color: white; | |||
box-shadow: 0 0 10px rgba(0,0,0,0.5); | |||
transition-duration: 120ms; | |||
} | |||
button:active { | |||
padding: 1.5%; | |||
font-size: 105%; | |||
border: 2px solid white; | |||
border-radius: 15px; | |||
background-color: white; | |||
box-shadow: 0 0 10px rgba(0,0,0,0.5); | |||
transition-duration: 120ms; | |||
} | |||
button:hover { | |||
transition-duration: 120ms; | |||
background-color: #ededed; | |||
border: 2px solid #ededed; | |||
box-shadow: 0 0 0px rgba(0,0,0,0); | |||
} | |||
textarea { | |||
border-radius: 15px; | |||
/*height: 5%;*/ | |||
padding: 0.5%; | |||
width: 30%; | |||
border: 1px solid #e6e6e6; | |||
background-color: white; | |||
resize: none; | |||
overflow: hidden; | |||
color: black; | |||
font-family: 'Inter', sans-serif; | |||
transition-duration: 120ms; | |||
font-size: 100%; | |||
} | |||
textarea:hover { | |||
border-radius: 15px; | |||
/*height: 5%;*/ | |||
padding: 0.5%; | |||
width: 30%; | |||
border: 1px solid #e6e6e6; | |||
background-color: #e6e6e6; | |||
resize: none; | |||
overflow: hidden; | |||
color: black; | |||
font-family: 'Inter', sans-serif; | |||
transition-duration: 120ms; | |||
} | |||
textarea:active { | |||
border: 1px solid #e6e6e6; | |||
} | |||
textarea:focus, input:focus { | |||
outline: none; | |||
} | |||
::-webkit-scrollbar { | |||
width: 10px; | |||
} | |||
/* Track */ | |||
::-webkit-scrollbar-track { | |||
background: #f1f1f1; | |||
} | |||
/* Handle */ | |||
::-webkit-scrollbar-thumb { | |||
background: #888; | |||
} | |||
/* Handle on hover */ | |||
::-webkit-scrollbar-thumb:hover { | |||
background: #555; | |||
} | |||
.thumbimage { | .thumbimage { | ||
Строка 24: | Строка 108: | ||
} | } | ||
text { | |||
font-family: 'Inter', sans-serif; | |||
font-size: 35px; | |||
font-weight: 500; | |||
font-family: ' | } | ||
h1, h2, h3 { | |||
font-family: 'Roboto Slab', sans-serif; | |||
} | } | ||
h4, h5, h6, p { | |||
font-family: 'Inter', serif; | |||
font-weight: 500; | |||
} | |||
pre, code { | |||
fontFamily: 'Roboto Mono'; | |||
font-family: 'Roboto Mono'; | |||
font-weight: 500; | |||
} | } | ||
li { | li { |
Версия от 23:02, 30 сентября 2021
.oo-ui-inputWidget-input, oo-ui-buttonElement-button {
border-radius: 15px;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
button {
margin: 15px;
padding: 1.5%;
font-size: 105%;
border: 2px solid white;
border-radius: 15px;
background-color: white;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
transition-duration: 120ms;
}
button:active {
padding: 1.5%;
font-size: 105%;
border: 2px solid white;
border-radius: 15px;
background-color: white;
box-shadow: 0 0 10px rgba(0,0,0,0.5);
transition-duration: 120ms;
}
button:hover {
transition-duration: 120ms;
background-color: #ededed;
border: 2px solid #ededed;
box-shadow: 0 0 0px rgba(0,0,0,0);
}
textarea {
border-radius: 15px;
/*height: 5%;*/
padding: 0.5%;
width: 30%;
border: 1px solid #e6e6e6;
background-color: white;
resize: none;
overflow: hidden;
color: black;
font-family: 'Inter', sans-serif;
transition-duration: 120ms;
font-size: 100%;
}
textarea:hover {
border-radius: 15px;
/*height: 5%;*/
padding: 0.5%;
width: 30%;
border: 1px solid #e6e6e6;
background-color: #e6e6e6;
resize: none;
overflow: hidden;
color: black;
font-family: 'Inter', sans-serif;
transition-duration: 120ms;
}
textarea:active {
border: 1px solid #e6e6e6;
}
textarea:focus, input:focus {
outline: none;
}
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #888;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #555;
}
.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);
}
text {
font-family: 'Inter', sans-serif;
font-size: 35px;
font-weight: 500;
}
h1, h2, h3 {
font-family: 'Roboto Slab', sans-serif;
}
h4, h5, h6, p {
font-family: 'Inter', serif;
font-weight: 500;
}
pre, code {
fontFamily: 'Roboto Mono';
font-family: 'Roboto Mono';
font-weight: 500;
}
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;
}