mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-29 09:13:08 +00:00
56a0a33b70
[web][website-redesign] Migrate "for government" and "back to school 2023" CMS page to website redesign style by repurposing the "new page style" option on CMS GitOrigin-RevId: 5f5b3bde7be21746c48718253252c8634a20bb19
96 lines
1.7 KiB
Text
96 lines
1.7 KiB
Text
.card {
|
|
background-color: white;
|
|
border-radius: @border-radius-base;
|
|
box-shadow: none;
|
|
padding: @line-height-computed;
|
|
.page-header {
|
|
margin: 0 0 1.5625rem;
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
margin-top: 0;
|
|
}
|
|
}
|
|
> .container-fluid {
|
|
padding: 0;
|
|
}
|
|
|
|
.card-header {
|
|
border-bottom: 1px solid @gray-lighter;
|
|
padding-bottom: @line-height-computed;
|
|
margin-bottom: @line-height-computed;
|
|
h2 {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
> :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
&.card-drop-shadow {
|
|
box-shadow: @card-box-shadow;
|
|
background-color: white;
|
|
|
|
> hr {
|
|
margin-left: -@line-height-computed;
|
|
margin-right: -@line-height-computed;
|
|
}
|
|
}
|
|
}
|
|
|
|
.card-thin {
|
|
padding: @line-height-computed / 2;
|
|
}
|
|
|
|
.card-group {
|
|
.card {
|
|
margin: @line-height-computed -15px 0 -15px;
|
|
border-radius: 0;
|
|
|
|
&.card-highlighted {
|
|
// Make it taller and card like
|
|
margin-top: 0;
|
|
border-radius: @border-radius-base;
|
|
}
|
|
|
|
&.card-first {
|
|
border-top-left-radius: @border-radius-base;
|
|
border-bottom-left-radius: @border-radius-base;
|
|
}
|
|
&.card-last {
|
|
border-top-right-radius: @border-radius-base;
|
|
border-bottom-right-radius: @border-radius-base;
|
|
}
|
|
}
|
|
}
|
|
|
|
.card-border {
|
|
border: @border-width-base solid @border-color-base;
|
|
}
|
|
|
|
.card-content {
|
|
padding: @padding-md;
|
|
}
|
|
|
|
.card-gray {
|
|
&:extend(.card);
|
|
background-color: @card-gray-bg-color;
|
|
border-radius: @card-border-radius;
|
|
}
|
|
|
|
.card-gray-dark {
|
|
&:extend(.card);
|
|
background-color: @ol-blue-gray-1;
|
|
border-radius: @card-border-radius;
|
|
}
|
|
|
|
.website-redesign {
|
|
.card {
|
|
background-color: @card-gray-bg-color;
|
|
border-radius: 24px;
|
|
}
|
|
}
|