matrix.org/sass/_bridges.scss

122 lines
2.3 KiB
SCSS

.bridges-page.content p {
margin-block: 2.5rem;
}
.platforms-grid {
display: grid;
grid-template-columns: repeat(auto-fill, 17.6rem);
row-gap: .8rem;
margin-block: 2rem 3rem;
margin-inline: auto;
.platform {
display: flex;
flex-direction: row;
gap: 1rem;
align-items: center;
padding-block: .5rem;
padding-inline: .5rem 1rem;
max-width: fit-content;
cursor: pointer;
color: var(--color-text);
img {
width: 64px;
height: 64px;
border: 1px solid #d2d2d2;
border-radius: 15px;
}
.details {
display: flex;
flex-direction: column;
h2 {
font-size: 1.5rem;
font-weight: 700;
margin: 0;
line-height: 1.2;
}
p {
margin: 0;
font-size: .875rem;
color: #545454;
}
}
&:hover {
background-color: #e9e9e9;
border-radius: 12px;
}
}
}
.bridges_implem> :nth-child(even) {
background-color: #fafafa;
}
.implementation {
padding: 80px;
max-width: var(--page-max-width);
margin-inline: auto;
@media (max-width: 767px) {
padding: 1rem;
}
display: grid;
grid-template-columns: 2fr 1fr;
column-gap: 1rem;
@media (max-width: 767px) {
grid-template-columns: 1fr;
}
.title-row {
align-items: center;
justify-content: flex-start;
gap: .5rem;
h3 {
margin-block: 1rem;
}
}
.recommended-chip {
display: flex;
align-items: center;
gap: .2rem;
max-width: fit-content;
font-style: normal;
border-bottom: 1px dotted var(--borders-color);
}
.privileges,
.licence {
display: flex;
flex-wrap: wrap;
gap: .5rem;
margin-block: .5rem;
margin-bottom: 1rem;
}
.privileges>div,
.licence>div {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: .5rem;
div,
a {
background-color: #e9e9e9;
border-radius: 9999px;
padding-inline: .5rem;
color: var(--color-text);
}
}
}