Summary: Ref T2921 Reviewers: #testers, kuba-orlik Reviewed By: #testers, kuba-orlik Subscribers: kuba-orlik, jenkins-user Maniphest Tasks: T2921 Differential Revision: https://hub.sealcode.org/D1615
184 lines
3.7 KiB
CSS
184 lines
3.7 KiB
CSS
.ordered-blocks {
|
|
padding-bottom: 96px;
|
|
position: relative;
|
|
}
|
|
|
|
.ordered-blocks ol {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.ordered-blocks__body {
|
|
margin: 0 auto;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.ordered-blocks__article-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(36ch, 1fr));
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.ordered-blocks__buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 24px;
|
|
}
|
|
|
|
.ordered-blocks__button-wrapper {
|
|
text-align: center;
|
|
}
|
|
|
|
@container (max-width: 400px) {
|
|
.ordered-blocks__article-list {
|
|
display: block;
|
|
max-width: 100%;
|
|
padding: 0;
|
|
margin: auto;
|
|
}
|
|
|
|
}
|
|
|
|
.ordered-blocks .article-list-item {
|
|
background-color: var(--main);
|
|
padding: 0 24px;
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item__number {
|
|
display: block;
|
|
font-family: var(--font-sans-serif);
|
|
font-feature-settings: "tnum";
|
|
font-weight: 800;
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
padding-bottom: calc(12px - 1px);
|
|
border-bottom: 1px solid #000000;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item__image {
|
|
padding-bottom: calc(24px - 1px);
|
|
border-bottom: 1px solid #000000;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item__image img {
|
|
height: 60px;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--above .article-list-item__image {
|
|
border: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item h3 {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
font-family: var(--font-slab-serif);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item p {
|
|
font-family: var(--font-sans-serif);
|
|
font-size: 15px;
|
|
padding-top: 24px;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--above .header {
|
|
display: flex;
|
|
flex-flow: row;
|
|
padding-bottom: calc(9.6px - 1px);
|
|
border-bottom: 1px solid #000000;
|
|
margin-bottom: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--purple .article-list-item__image {
|
|
border-color: hsl(287.3, 13.1%, 50.8%);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--above .article-list-item__number {
|
|
padding-bottom: 0;
|
|
border-bottom: none;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--above p {
|
|
padding-top: 0;
|
|
}
|
|
|
|
@media (max-width: 460px) {
|
|
.ordered-blocks .article-list-item--above .article-list-item__number {
|
|
display: block;
|
|
padding-left: 0;
|
|
border-bottom: 1px solid #000000;
|
|
padding-bottom: calc(12px - 1px);
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--above .header {
|
|
display: block;
|
|
border: none;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--above .header h3 {
|
|
margin-left: 0;
|
|
padding-top: 0;
|
|
}
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--purple .header {
|
|
border-color: hsl(287.3, 13.1%, 50.8%);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--purple .article-list-item__number {
|
|
color: var(--main-bg-text);
|
|
border-color: hsl(287.3, 13.1%, 50.8%);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--purple h3 {
|
|
color: var(--main-bg-text);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--purple p {
|
|
color: hsl(286.4, 15.5%, 83.2%);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--wild-sand {
|
|
background: none;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--wild-sand .header {
|
|
border-color: var(--alto-gray);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--wild-sand .article-list-item__number {
|
|
color: var(--secondary-dark-01);
|
|
border-color: var(--alto-gray);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--wild-sand .article-list-item__image {
|
|
border-color: var(--alto-gray);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--wild-sand h3 {
|
|
color: var(--wild-sand-bg-text);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--above .header h3 {
|
|
padding-top: 2.4px;
|
|
margin-left: 12px;
|
|
}
|
|
|
|
.ordered-blocks .article-list-item--wild-sand p {
|
|
color: var(--dove-gray);
|
|
}
|
|
|
|
.ordered-blocks .article-list-item .button {
|
|
margin: 6px auto;
|
|
display: block;
|
|
} |