-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.css
90 lines (76 loc) · 1.68 KB
/
common.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
* {
font-family: 'Poppins', sans-serif;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
margin: 0;
/* box-sizing: border-box; */
}
html,
body{
margin: 0;
padding: 0;
scroll-behavior: smooth;
overflow-x: hidden;
scroll-padding-top: 51px;
}
html::-webkit-scrollbar{
top: 20px;
width: 11px;
}
html::-webkit-scrollbar-thumb {
background-color: #2e3131;
border-radius: 20px;
border: 3px solid #fff;
background-clip: content-box;
}
html::-webkit-scrollbar-track {
background-color: transparent;
}
body{
background-image: url('images/qwert.jpg');
background-size:cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
}
hr {
height: 2.5px;
background-color: var(--persian-green);
border: none;
border-radius: 100px;
margin: 20px auto;
width: 250px;
position: relative;
}
/**************** button ****************/
.button-for-all {
border: none;
background-color: var(--primary-black);
color: var(--primary-white);
padding: 10px 20px;
font-size: 16px;
border-radius: 0;
cursor: pointer;
transition: all 0.3s ease, background-color 0.3s ease;
}
.button-for-all a {
color: var(--primary-white);
}
.button-for-all:hover {
background-color: var(--persian-green);
border-radius: 50px;
}
.button-for-all:active {
transform: scale(0.95);
}
.button-for-all span {
vertical-align: middle;
display: inline-block;
transition: all 0.3s ease;
}
.button-for-all:hover span {
animation: vanish 0.5s forwards;
}
/**************** button ****************/