-
Notifications
You must be signed in to change notification settings - Fork 0
/
media.scss
114 lines (91 loc) · 1.78 KB
/
media.scss
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
@import url('https://fonts.googleapis.com/css2?family=Henny+Penny&family=Pattaya&family=Roboto:ital,wght@1,100&display=swap');
$all: all .5s ease;
$sai: 'Roboto',
sans-serif;
* {
// @include tf($tf-fm: $sai);
@include other($ot-tsi: $all)
}
body {
background: #dfdfdf
}
.container {
@include bm(100%, 100%, $bm-pd: 0 16px, $bm-dp: $fl);
@include flex-center($rnw)
}
form {
@include bm(400px, $bm-dp: $fl);
@include flex-center($cw);
div,
label,
input,
textarea {
@include bm(100%)
}
}
.field:nth-of-type(2) {
@include bm($bm-mg: 16px 0)
}
label,
input,
textarea {
@include bm($bm-pd: 8px)
}
label,
[placeholder] {
@include tf(#555)
}
label i {
@include bm($bm-mg: 0 10px 0 0)
}
.field:focus-within label {
@include tf(#000, $tf-ls: 2px)
}
input,
textarea {
background: rgba(255, 255, 255, .5);
border: none;
@include other($ot-br: 4px, $ot-bs: $o-b);
&:focus {
background: rgba(255, 255, 255, 1);
@include other($ot-bs: none)
}
}
textarea {
resize: none;
&::-webkit-scrollbar {
@include bm(0)
}
}
button {
background: #2f4ad0;
@include bm($bm-pd: 8px 16px, $bm-mg: 16px 0 50px 0);
@include tf(#fff);
border: none;
@include other($ot-br: 4px, $ot-cr: pointer, $ot-bs: $o-b);
&:hover {
@include tf($tf-ls: 2px);
@include other($ot-bs: none)
}
}
.social-media {
@include bm($bm-dp: $fl);
@include fb($rw, $fb-jc: $sa);
:not(&) {
@include tf($tf-fs: 14px)
}
span {
@include tf($tf-fs: 16px)
}
span .fas {
@include bm($bm-mg: 0 0 0 10px)
}
a {
@include tf(#000, $tf-fs: 20px)
}
}
@media (max-width: 425px) {
form {
@include bm(100%)
}
}