discourse/app/assets/stylesheets/publish.scss
Jordan Vidrine 437ca97eac
FIX: Fix bg color of header on published page (#11652)
This commit correctly sets the bg color of the header on published pages to be var(--header_background) instead of var(--secondary).
2021-01-06 16:54:37 -06:00

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;
}