0
Fork 0
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:
John O'Nolan 2014-08-07 16:35:58 +03:00
parent 514cddf655
commit a36c7a559b
3 changed files with 14 additions and 10 deletions

View file

@ -48,10 +48,10 @@
.btn-green {
@include icon($i-add);
position: absolute;
top: 10px;
right: 15px;
top: 9px;
right: 20px;
z-index: 700;
padding: 3px 4px 3px 5px;
padding: 2px 4px 3px 5px;
color: #fff !important; // getting overridden by floatingheader
}
@ -67,7 +67,8 @@
}
.entry-title {
font-size: 1.4em;
font-size: 1.6rem;
line-height: 1.25em;
font-weight: normal;
}
@ -112,7 +113,7 @@
a {
display: block;
padding: 20px 15px;
padding: 20px 20px;
color: rgba(0,0,0,0.5);
@media (max-width: 400px) {
padding: 15px;

View file

@ -7,7 +7,7 @@
// The main post title
.entry-container .entry-title {
height: 60px;
padding: 0 15px;
padding: 0 20px;
position: relative;
input {
@ -388,7 +388,8 @@ body.zen {
.usermenu {
display: none;
}
#global-header,
.global-nav,
.page-header,
#publish-bar {
opacity: 0;
height: 0;
@ -396,10 +397,11 @@ body.zen {
@include transition(all 0.5s ease-out);
}
main {
top: 15px;
.page-content {
top: 0;
@include transition(all 0.5s ease-out);
}
.entry-markdown,
.entry-preview {
bottom: 0;

View file

@ -40,7 +40,8 @@
right: 0;
z-index: 400;
height: 40px;
padding: 8px 15px 12px;
padding: 10px 20px;
font-size: 1.3rem;
text-transform: uppercase;
color: $brown;
//Transparent gradient to make bg fade out as it goes out the top.