Шаблон:ПравкаЗН/styles.css: различия между версиями
Перейти к навигации
Перейти к поиску
(Новая страница: «.custom-block { margin: 1rem 0; border: 0.1rem solid; padding: 1rem 1.5rem; display: grid; justify-content: center; align-content: center; overflow-x: auto; }») |
мНет описания правки |
||
| (не показаны 4 промежуточные версии этого же участника) | |||
| Строка 7: | Строка 7: | ||
align-content: center; | align-content: center; | ||
overflow-x: auto; | overflow-x: auto; | ||
} | |||
.custom-block span { | |||
display: flex; | |||
margin: 0; | |||
align-items: center; | |||
} | |||
.custom-block pre { | |||
background-color: transparent; | |||
margin: 1px 7px; | |||
padding: 0; | |||
display: grid; | |||
border: none; | |||
color: initial; | |||
font-family: inherit; | |||
} | |||
.custom-block pre a { | |||
font-family: system-ui, 'Roboto'; | |||
font-size: 16px; | |||
line-height: 1.9; | |||
} | |||
.custom-block pre a.new { | |||
color: #a97e7e; | |||
background-color: #e4e5e9 !important; | |||
opacity: 0.5; | |||
cursor: not-allowed; | |||
pointer-events: none; | |||
} | |||
.custom-block-title { | |||
font-weight: 600; | |||
font-size: 1.2em; | |||
letter-spacing: 2px; | |||
text-decoration: underline; | |||
text-underline-position: under; | |||
} | |||
.custom-block.tip { | |||
border-color: #20669f; | |||
background-color: #e4f0fd; | |||
color: #20669f; | |||
} | |||
.custom-user-text { | |||
display: inline-flex; | |||
flex-direction: row; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 5px; | |||
} | |||
.custom-user-text a:hover { | |||
border: none !important; | |||
} | |||
.dropbtn { | |||
background-color: #4caf50; | |||
color: #fff; | |||
font-size: 16px; | |||
border: none; | |||
cursor: pointer; | |||
display: inline-block; | |||
padding: 0 7px; | |||
} | |||
.dropdown-content { | |||
display: none; | |||
position: absolute; | |||
padding: 0.5rem; | |||
min-width: 160px; | |||
background-color: #f1f1f1; | |||
border-radius: 0.25rem; | |||
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); | |||
z-index: 1; | |||
} | |||
.dropdown-content a { | |||
color: #000; | |||
padding: 10px 16px; | |||
text-decoration: none; | |||
display: inline-block; | |||
margin-right: 0px !important; | |||
} | |||
.dropdown-content a:hover { | |||
background-color: #ddd; | |||
} | |||
.dropdown:hover .dropdown-content { | |||
display: block; | |||
} | |||
.dropdown:hover .dropbtn { | |||
background-color: #3e8e41; | |||
} | |||
.dropdown { | |||
margin-left: 15px; | |||
} | |||
.dropdown-content { | |||
max-width: 300px; | |||
background-color: #f9f9f9; | |||
min-width: 200px; | |||
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | |||
padding: 12px 16px; | |||
border-radius: 5px; | |||
} | |||
.dropdown-content p { | |||
font-size: 0.9em; | |||
margin: 12px 5px; | |||
color: #555; | |||
line-height: 1.2; | |||
overflow-wrap: break-word; | |||
} | |||
span.menu-header { | |||
justify-content: center; | |||
padding: 5px 0px; | |||
margin-top: 15px; | |||
font-weight: bold; | |||
color: #141414; | |||
border-radius: 3px; | |||
} | |||
span.menu-header-r { | |||
justify-content: right; | |||
font-weight: bold; | |||
text-transform: uppercase; | |||
} | } | ||
Текущая версия от 15:38, 22 апреля 2023
.custom-block {
margin: 1rem 0;
border: 0.1rem solid;
padding: 1rem 1.5rem;
display: grid;
justify-content: center;
align-content: center;
overflow-x: auto;
}
.custom-block span {
display: flex;
margin: 0;
align-items: center;
}
.custom-block pre {
background-color: transparent;
margin: 1px 7px;
padding: 0;
display: grid;
border: none;
color: initial;
font-family: inherit;
}
.custom-block pre a {
font-family: system-ui, 'Roboto';
font-size: 16px;
line-height: 1.9;
}
.custom-block pre a.new {
color: #a97e7e;
background-color: #e4e5e9 !important;
opacity: 0.5;
cursor: not-allowed;
pointer-events: none;
}
.custom-block-title {
font-weight: 600;
font-size: 1.2em;
letter-spacing: 2px;
text-decoration: underline;
text-underline-position: under;
}
.custom-block.tip {
border-color: #20669f;
background-color: #e4f0fd;
color: #20669f;
}
.custom-user-text {
display: inline-flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 5px;
}
.custom-user-text a:hover {
border: none !important;
}
.dropbtn {
background-color: #4caf50;
color: #fff;
font-size: 16px;
border: none;
cursor: pointer;
display: inline-block;
padding: 0 7px;
}
.dropdown-content {
display: none;
position: absolute;
padding: 0.5rem;
min-width: 160px;
background-color: #f1f1f1;
border-radius: 0.25rem;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
color: #000;
padding: 10px 16px;
text-decoration: none;
display: inline-block;
margin-right: 0px !important;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #3e8e41;
}
.dropdown {
margin-left: 15px;
}
.dropdown-content {
max-width: 300px;
background-color: #f9f9f9;
min-width: 200px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
padding: 12px 16px;
border-radius: 5px;
}
.dropdown-content p {
font-size: 0.9em;
margin: 12px 5px;
color: #555;
line-height: 1.2;
overflow-wrap: break-word;
}
span.menu-header {
justify-content: center;
padding: 5px 0px;
margin-top: 15px;
font-weight: bold;
color: #141414;
border-radius: 3px;
}
span.menu-header-r {
justify-content: right;
font-weight: bold;
text-transform: uppercase;
}