mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:03:43 +08:00
437ca97eac
This commit correctly sets the bg color of the header on published pages to be var(--header_background) instead of var(--secondary).
67 lines
1.3 KiB
SCSS
67 lines
1.3 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(--header_background, $header_background);
|
|
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;
|
|
}
|