-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Expand file tree
/
Copy pathButton.scss
More file actions
58 lines (57 loc) · 1.12 KB
/
Button.scss
File metadata and controls
58 lines (57 loc) · 1.12 KB
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
@import "../../_globalColor";
.main-button {
background-color: $buttonColor;
border: solid 1px $buttonColor;
color: $textColorDark;
font-weight: 700;
width: max-content;
padding: 13px 22px;
margin-right: 50px;
text-transform: uppercase;
border-radius: 6px;
text-align: center;
text-decoration: none;
display: block;
margin-top: 20px;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease-in-out 0s;
}
.main-button:hover {
background-color: $darkBoxShadow2;
color: $buttonColor;
transition: all 0.3s ease 0s;
transform: translateY(-3px);
}
.project-button {
display: flex;
justify-content: center;
margin-top: 20px;
}
.project-button > .main-button {
margin-right: 0 !important;
}
/* Media Query */
@media (max-width: 768px) {
.main-button {
font-size: 0.938rem;
padding: 12px 18px;
margin-right: 0px;
width: 100%;
margin: 10px auto;
}
}
@media (max-width: 480px) {
.main-button {
font-size: 0.875rem;
width: 90%;
padding: 10px 15px;
}
}
@media (max-width: 320px) {
.main-button {
font-size: 0.75rem;
width: 95%;
padding: 8px 12px;
}
}