Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_navigation.scss « scss « assets - github.com/seanlane/gochowdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e68f5f7c934a2bc57e96091af55738a0cfe89b87 (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
.navigation {
  width: 100%;
  background-image: url($bg-blue-tile-url); 
  padding: 1rem 0;
  a, span {
    display: inline;
    font-size: 1.2rem;
    font-family: $heading-font-family;
    font-weight: $font-weight-regular;
    line-height: $font-height;
    color: $bg-color;
  }
  a {
    &:hover, &:focus {
      text-decoration: underline;
    }
  }

  .nav-avatar {
    float: left;
    width: 45px;
    height: 45px;
    margin-right: 12px;
    text-decoration: none;
    @media screen and (max-width: 48em) {
      float: none;
      display: block;
      margin: 0 auto;
    }

    img {
      border-radius: 45px;
    }
  }

  .nav-title {
    letter-spacing: 0.1rem;
    text-transform: uppercase;
  }

  .nav-left {
    text-align: left;
    display: flex;
    align-items: center;
    @media screen and (max-width: 48em) {
      display: block;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }
  }

  .nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    a { margin-left: 10px; }
    a:first-child { margin-left: 0; }
    @media screen and (max-width: 48em) {
      margin: 15px 0;
    }
  }

  .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
    @media screen and (max-width: 48em) {
      justify-content: center;
    }
    a { margin-left: 20px; }
    a:first-child { margin-left: 0; }
  }
}