-
Notifications
You must be signed in to change notification settings - Fork 27
/
media-queries.css
106 lines (106 loc) · 1.89 KB
/
media-queries.css
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
@media (max-width: 600px) {
.nav-menu {
height: 100vh;
position: fixed;
top: 0;
right: 0;
background-color: #E4BAD4;
clip-path: circle(0px at top right);
transition: clip-path ease-in-out 700ms;
}
.nav-menu ul {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.nav-menu-open {
clip-path: circle(150% at top right);
}
.nav-menu a {
display: block;
text-decoration: underline;
}
.nav-menu a:hover {
color: #424874;
}
.menu-toggle {
background-color: #6155A6;
padding: 1.2rem 0.8rem;
top: 0;
right: 0;
position: fixed;
cursor: pointer;
z-index: 1;
/*visibility: visible;*/
/*width: auto;*/
}
.menu-open .menu {
transform: rotate(45deg);
}
.menu-open .menu::before {
opacity: 0;
}
.menu-open .menu::after {
transform: translateY(-3px) rotate(-90deg);
}
.menu,
.menu::before,
.menu::after {
content: '';
display: block;
background-color: beige;
height: 3px;
width: 1.75rem;
border-radius: 3px;
}
.menu::before{
transform: translateY(-6px);
}
.menu::after{
transform: translateY(3px);
}
.layout {
padding-top: 0;
}
.layout-main, .layout-down {
grid-template-columns: none;
}
.layout-main--article {
border-right: 0;
padding: 0;
}
.layout-down--article {
border-bottom: 1px solid #CCC;
}
.layout-down--article:last-child {
border-bottom: none;
}
.layout-footer {
display: unset;
}
.layout-form {
width: 100%;
}
.form-fieldset {
display: unset;
}
legend {
text-align: center;
padding: 0.5rem 0;
}
.form-input {
width: 100%;
}
.form-submit {
width: 100%;
margin: 1rem 0;
}
.layout-social {
width: 100%;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 2rem;
}
}