mobile.css 1.19 KB
Newer Older
Athanasios's avatar
Athanasios 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
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
@media only screen and (max-width : 800px) {

  .content {
    padding-left: 5%;
    padding-right: 5%;
  }

  nav {
    background-color: rgba(16, 16, 16, 0.8);
    height: auto;
    padding: 0;
    position: absolute;
    right: -40%;
    top: 20px;
    width: 40%;
    margin: 0;
    z-index: 1000;
    transition: right 0.4s;
  }

  nav ul {
    flex-direction: column;
  }

  nav li {
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  nav a {
    font-size: 0.8em;
  }

  nav a:hover {
    border-bottom: unset;
    padding-bottom: unset;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    background-color: rgba(16, 16, 16, 0.8);
    margin-top: 20px;
    padding: 8px;
    transition: margin-right 0.4s;
  }

  .line {
    background-color: white;
    height: 2px;
  }

  .slide-nav {
    right: 0;
  }

  .slide-hamburger {
    margin-right: 40%;
  }

  .overflow-visible{
    overflow: visible;
  }

  .logo{
    width: 80px;
    height: 80px;
    margin-left: 8vw;
  }


}