-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.scss
More file actions
43 lines (39 loc) · 961 Bytes
/
custom.scss
File metadata and controls
43 lines (39 loc) · 961 Bytes
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
$mainColor: #95a5a6;
$secondaryColor: #9b59b6;
$secondaryTextColor: #ddd;
@mixin border-radius($value) {
-moz-border-radius: $value;
-webkit-border-radius: $value;
-ms-border-radius: $value;
-o-border-radius: $value;
border-radius: $value;
}
@mixin transition($value) {
-moz-transition: $value;
-webkit-transition: $value;
-ms-transition: $value;
-o-transition: $value;
transition: $value;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 97vh;
background-color: $mainColor;
a {
color: $secondaryTextColor;
border: 2px solid $secondaryColor;
padding: 10px;
text-decoration: none;
@include border-radius(5px);
@include transition(0.2s all);
&:hover {
border-color: darken($secondaryColor, 5%);
background-color: $secondaryColor;
}
}
p {
color: #000000;
}
}