aboutsummaryrefslogtreecommitdiff
path: root/css/menu-temp.css
blob: da522096df784c0cc4d725e648a453c3bfc2e6d8 (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
139
140
141
142
143
144
145
/* Base
-------------------------- */
body {
  background: #fff;
  color: #454545;
}

a {
  color: #09f;
}
a:hover {
  color: #007acc;
}

button {
  -webkit-font-smoothing: antialiased;
  background-color: #09f;
  border: none;
  border-radius: 0.1875em;
  color: white;
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  line-height: 1;
  padding: .75em 1em;
  text-decoration: none;
}
button:hover {
  background-color: #007acc;
  color: white;
}

/* Header
-------------------------- */
.l-header {
  height: 80px;
  position: relative;
  background: #212121;
}

.logo {
  float: left;
}
.logo__title {
  margin: 0;
}
.logo__link {
  display: inline-block;
  text-decoration: none;
  padding: 0 10px;
  line-height: 80px;
  height: 80px;
  color: #fff;
  word-wrap: no-wrap;
}

.menu-btn {
  display: none;
  position: absolute;
  right: 10px;
  top: 20px;
}

@media (max-width: 768px) {
  .logo {
    float: none;
  }

  .menu-btn {
    display: block;
  }
}
/*  Menu
-------------------------- */
.menu {
  float: right;
}
.menu__list {
  overflow: hidden;
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.menu__item {
  float: left;
  text-align: center;
  text-align: center;
}
.menu__link {
  display: block;
  color: #fff;
  text-decoration: none;
  line-height: 5em;
  height: 5em;
  padding: 0 1.5em;
  word-wrap: no-wrap;
  transition: all .3s ease;
}
.menu__link:hover, .menu__link:focus {
  background: #09f;
  color: #fff;
}

@media (max-width: 768px) {
  .menu {
    float: none;
  }
  .menu__item {
    display: block;
    float: none;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    transition: all .3s ease-out;
  }
  .menu__item--play {
    display: block;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }
  .menu__item + .menu__item {
    border-top: 1px solid #008ae6;
  }
  .menu__link {
    background: #09f;
  }
  .menu__link:hover {
    background: #007acc;
  }
}
/* Wrap
-------------------------- */
.wrap {
  margin-left: auto;
  margin-right: auto;
  max-width: 1000px;
}
.l-main .wrap {
  padding: 0 10px;
}