mirror of
https://github.com/discourse/discourse.git
synced 2024-12-18 21:18:34 +08:00
ed0e1e28b4
* FIX: Fix css var issues Adds ability for published page to use css `var()` + import the `var()` definitions
67 lines
1.2 KiB
SCSS
67 lines
1.2 KiB
SCSS
@import "common";
|
|
|
|
.published-page-content-wrapper {
|
|
margin: 2em auto;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.published-page-header {
|
|
width: 100%;
|
|
top: 0;
|
|
z-index: z("header");
|
|
background-color: var(--secondary, $secondary);
|
|
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.25);
|
|
position: sticky;
|
|
top: 0;
|
|
.published-page-header-wrapper {
|
|
width: 925px;
|
|
display: flex;
|
|
margin: 0em auto;
|
|
padding: 0.5em 0;
|
|
align-items: center;
|
|
.published-page-logo {
|
|
height: 45px;
|
|
margin-right: 1em;
|
|
line-height: 1em;
|
|
}
|
|
.published-page-title {
|
|
color: var(--header_primary, $header_primary);
|
|
font-size: 2em;
|
|
margin: 0;
|
|
max-height: 1.25em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.published-page {
|
|
background-color: var(--secondary, $secondary);
|
|
color: var(--primary, $primary);
|
|
|
|
blockquote {
|
|
margin-left: 0;
|
|
margin-right: 0;
|
|
padding: 12px;
|
|
}
|
|
}
|
|
|
|
.published-page-author {
|
|
margin-top: 1em;
|
|
margin-bottom: 2em;
|
|
display: flex;
|
|
|
|
.avatar {
|
|
margin-right: 1em;
|
|
height: 45px;
|
|
width: 45px;
|
|
border: 4px solid var(--tertiary-medium, $tertiary-medium);
|
|
}
|
|
.topic-created-at {
|
|
color: var(--primary-medium, $primary-medium);
|
|
}
|
|
}
|
|
|
|
.published-page-content-body {
|
|
font-size: 1.25em;
|
|
padding-bottom: 2em;
|
|
}
|