Шаблон:ПравкаЗН/styles.css: различия между версиями
Материал из SaleBot Help
мНет описания правки |
мНет описания правки |
||
| (не показаны 2 промежуточные версии этого же участника) | |||
| Строка 23: | Строка 23: | ||
} | } | ||
.custom-block pre a { | .custom-block pre a { | ||
font-family: system-ui, 'Roboto'; | |||
font-size: 16px; | font-size: 16px; | ||
line-height: 1.9; | line-height: 1.9; | ||
| Строка 36: | Строка 37: | ||
font-weight: 600; | font-weight: 600; | ||
font-size: 1.2em; | font-size: 1.2em; | ||
letter-spacing: 2px; | |||
text-decoration: underline; | text-decoration: underline; | ||
text-underline-position: under; | text-underline-position: under; | ||
| Строка 66: | Строка 68: | ||
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
padding: 0.5rem; | |||
min-width: 160px; | |||
background-color: #f1f1f1; | background-color: #f1f1f1; | ||
border-radius: 0.25rem; | |||
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); | |||
z-index: 1; | z-index: 1; | ||
} | } | ||
| Строка 75: | Строка 80: | ||
text-decoration: none; | text-decoration: none; | ||
display: inline-block; | display: inline-block; | ||
margin-right: 0px !important; | |||
} | } | ||
.dropdown-content a:hover { | .dropdown-content a:hover { | ||
| Строка 81: | Строка 87: | ||
.dropdown:hover .dropdown-content { | .dropdown:hover .dropdown-content { | ||
display: block; | display: block; | ||
} | } | ||
.dropdown:hover .dropbtn { | .dropdown:hover .dropbtn { | ||
| Строка 91: | Строка 96: | ||
.dropdown-content { | .dropdown-content { | ||
max-width: 300px; | 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 { | .dropdown-content p { | ||
font-size: 0.9em; | |||
margin: 12px 5px; | margin: 12px 5px; | ||
color: #555; | color: #555; | ||
line-height: 1.2; | line-height: 1.2; | ||
| Строка 100: | Строка 110: | ||
} | } | ||
span.menu-header { | 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;
}