summaryrefslogtreecommitdiffstats
path: root/src/rocksdb/docs/_sass/_header.scss
blob: b4cd071139736c091877cc61dbb1aabd72c6c05c (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
.fixedHeaderContainer {
  background: $primary-bg;
  color: $primary-overlay;
  height: $header-height;
  padding: $header-ptop 0 $header-pbot;
  position: fixed;
  width: 100%;
  z-index: 9999;

  a {
    align-items: center;
    border: 0;
    color: $primary-overlay;
    display: flex;
    flex-flow: row nowrap;
    height: $header-height;
  }

  header {
    display: flex;
    flex-flow: row nowrap;
    position: relative;
    text-align: left;

    img {
      height: 24px;
      margin-right: 10px;
    }

    h2 {
      display: block;
      font-family: $header-font-family;
      font-weight: 900;
      line-height: 18px;
      position: relative;
    }
  }
}

.navigationFull {
  height: 34px;
  margin-left: auto;

  nav {
    position: relative;

    ul {
      display: flex;
      flex-flow: row nowrap;
      margin: 0 -10px;

      li {
        padding: 0 10px;
        display: block;

        a {
          border: 0;
          color: $primary-overlay-special;
          font-size: 16px;
          font-weight: 400;
          line-height: 1.2em;

          &:hover {
            border-bottom: 2px solid $primary-overlay;
            color: $primary-overlay;
          }
        }

        &.navItemActive {
          a {
            color: $primary-overlay;
          }
        }
      }
    }
  }
}

/* 900px


  .fixedHeaderContainer {
    .navigationWrapper {
      nav {
        padding: 0 1em;
        position: relative;
        top: -9px;

        ul {
          margin: 0 -0.4em;
          li {
            display: inline-block;

            a {
              padding: 14px 0.4em;
              border: 0;
              color: $primary-overlay-special;
              display: inline-block;

              &:hover {
                color: $primary-overlay;
              }
            }

            &.navItemActive {
              a {
                color: $primary-overlay;
              }
            }
          }
        }
      }

      &.navigationFull {
        display: inline-block;
      }

      &.navigationSlider {
        display: none;
      }
    }
  }

  1200px

  .fixedHeaderContainer {
    header {
      max-width: 1100px;
    }
  }

  1500px
  .fixedHeaderContainer {
    header {
      max-width: 1400px;
    }
  }
 */