mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Take header height into account in the main page masthead; avoid margin collapsing.
This commit is contained in:
parent
0f1b0be231
commit
b73a56f70c
1 changed files with 3 additions and 0 deletions
|
@ -1,10 +1,13 @@
|
|||
.masthead {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
background-color: rgba(0,0,0,0.85);
|
||||
background-image: -webkit-linear-gradient(left,rgba(153,93,179,0.6),rgba(44,155,219,0.6));
|
||||
background-image: linear-gradient(to right,rgba(153,93,179,0.6),rgba(44,155,219,0.6));
|
||||
position: relative;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
margin-top: @header-height;
|
||||
h1, p, label {
|
||||
color: white;
|
||||
text-align: center;
|
||||
|
|
Loading…
Reference in a new issue