header.scss 1.38 KB
Newer Older
mntmn's avatar
mntmn committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@import "vars";
@import "mixins";

.header-center,
.header-left,
.header-right {
  position: absolute;
  @include backface-visibility(hidden);
  z-index: 3000;
  top: 10px;
  
  > * {
    display: inline-block;
    vertical-align: middle;
  }

  &.out {
    opacity: 0;
    pointer-events: none;
    * {
      pointer-events: none !important;
    }
  }
}

.home {
  margin-top: -20px;
  margin-left: -20px;
}

.header-left { 
32
33
34
35
    left: 0; 
    padding-left: 10px; 
    padding-left: 20px;
    padding-top: 20px;
mntmn's avatar
mntmn committed
36
}
mntmn's avatar
mntmn committed
37
.header-right {
38
39
40
    right: 0; 
    padding-right: 20px;
    padding-top: 20px;
mntmn's avatar
mntmn committed
41
}
42

mntmn's avatar
mntmn committed
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.header-center {
  width: 100%;
  left: 0;
  right: 0;
  position: absolute;
  text-align: center;
  color: $medium;
  > * {
    font-size: 20px;
    line-height: 44px;
    color: $medium;
    padding: 0 10px;
  }
}
.header-left > * { margin-right: 10px; }
58
.header-right > * { margin-left: 10px; }
mntmn's avatar
mntmn committed
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
.header-right { font-size: 0;}

.title {
  width: 100%;
  left: 0;
  position: absolute;
  text-align: center;
  pointer-events: none;

  h1 {
    margin: 0;
    height: 60px;
    line-height: 60px;
    font-size: $font-size*0.75;
    // text-transform: uppercase;
    font-weight: bold;
    color: $medium;
    display: inline-block;
    margin-top: -14px;
    pointer-events: all;
    font-weight: normal;
  }
}

.author {
  float: left;
  .btn {
    margin-right: 10px;
  }
  .author-date {
    opacity: 0.5;
  }
}