mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 16:41:18 +08:00
f90e02162b
* UI: Styling for Published Page Styling to look more visually connected to Discourse
67 lines
1.1 KiB
SCSS
67 lines
1.1 KiB
SCSS
@import "common";
|
|
|
|
.published-page-content-wrapper {
|
|
margin: 2em auto;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.pp-header {
|
|
width: 100%;
|
|
top: 0;
|
|
z-index: z("header");
|
|
background-color: $secondary;
|
|
box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.25);
|
|
position: sticky;
|
|
top: 0;
|
|
.pp-header-wrapper {
|
|
width: 925px;
|
|
display: flex;
|
|
margin: 0em auto;
|
|
padding: 0.5em 0;
|
|
align-items: center;
|
|
.pp-logo {
|
|
height: 45px;
|
|
margin-right: 1em;
|
|
line-height: 1em;
|
|
}
|
|
.pp-title {
|
|
color: $header_primary;
|
|
font-size: 3em;
|
|
margin: 0;
|
|
max-height: 1.25em;
|
|
}
|
|
}
|
|
}
|
|
|
|
.published-page {
|
|
background-color: $secondary;
|
|
color: $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 rgba($tertiary, 0.75);
|
|
}
|
|
.topic-created-at {
|
|
color: $primary-medium;
|
|
}
|
|
}
|
|
|
|
.published-page-content-body {
|
|
font-size: 1.25em;
|
|
padding-bottom: 2em;
|
|
}
|