mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fix floatingheader alignments
This commit is contained in:
parent
514cddf655
commit
a36c7a559b
3 changed files with 14 additions and 10 deletions
|
@ -48,10 +48,10 @@
|
||||||
.btn-green {
|
.btn-green {
|
||||||
@include icon($i-add);
|
@include icon($i-add);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 10px;
|
top: 9px;
|
||||||
right: 15px;
|
right: 20px;
|
||||||
z-index: 700;
|
z-index: 700;
|
||||||
padding: 3px 4px 3px 5px;
|
padding: 2px 4px 3px 5px;
|
||||||
color: #fff !important; // getting overridden by floatingheader
|
color: #fff !important; // getting overridden by floatingheader
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,7 +67,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-title {
|
.entry-title {
|
||||||
font-size: 1.4em;
|
font-size: 1.6rem;
|
||||||
|
line-height: 1.25em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,7 +113,7 @@
|
||||||
a {
|
a {
|
||||||
|
|
||||||
display: block;
|
display: block;
|
||||||
padding: 20px 15px;
|
padding: 20px 20px;
|
||||||
color: rgba(0,0,0,0.5);
|
color: rgba(0,0,0,0.5);
|
||||||
@media (max-width: 400px) {
|
@media (max-width: 400px) {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
// The main post title
|
// The main post title
|
||||||
.entry-container .entry-title {
|
.entry-container .entry-title {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
padding: 0 15px;
|
padding: 0 20px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
|
@ -388,7 +388,8 @@ body.zen {
|
||||||
.usermenu {
|
.usermenu {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#global-header,
|
.global-nav,
|
||||||
|
.page-header,
|
||||||
#publish-bar {
|
#publish-bar {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
|
@ -396,10 +397,11 @@ body.zen {
|
||||||
@include transition(all 0.5s ease-out);
|
@include transition(all 0.5s ease-out);
|
||||||
}
|
}
|
||||||
|
|
||||||
main {
|
.page-content {
|
||||||
top: 15px;
|
top: 0;
|
||||||
@include transition(all 0.5s ease-out);
|
@include transition(all 0.5s ease-out);
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-markdown,
|
.entry-markdown,
|
||||||
.entry-preview {
|
.entry-preview {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
@ -40,7 +40,8 @@
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 400;
|
z-index: 400;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
padding: 8px 15px 12px;
|
padding: 10px 20px;
|
||||||
|
font-size: 1.3rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: $brown;
|
color: $brown;
|
||||||
//Transparent gradient to make bg fade out as it goes out the top.
|
//Transparent gradient to make bg fade out as it goes out the top.
|
||||||
|
|
Loading…
Add table
Reference in a new issue