-
Notifications
You must be signed in to change notification settings - Fork 0
/
css.css
113 lines (97 loc) · 1.67 KB
/
css.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
107
108
109
110
111
112
113
:root {
--red: rgb(255, 0, 0);
--fcl-yellow: #ffdd00;
--fcl-blue-light: #3f79b6;
--fcl-grey: #333;
}
html {
max-width: auto;
color: white;
font-size: 25px;
font-family: Arial, Helvetica, sans-serif;
background-color: #00519e;
scroll-behavior: smooth;
}
body{
font-size: 0.7em;
}
/* width */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.25);
/*var(--dark-blue);*/
}
/* Handle */
::-webkit-scrollbar-thumb {
background: var(--fcl-yellow);
/*border-radius: 3px;
box-shadow: var(--material-shadow);*/
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: var(--fcl-yellow);
}
::selection {
color: white;
background: var(--fcl-yellow);
}
main {
height: 100%;
max-width: 1200px;
margin: 0 auto;
}
.button {
font-size: 18px;
text-align: center;
border-radius: 7%;
box-shadow: 0 4px 2px -2px var(--fcl-yellow);
text-decoration: none;
color: white;
margin: 0 auto;
width: 200px;
display: block;
margin-bottom: 20px;
padding: 10px;
transition: background-color 0.5s;
}
.button:hover {
background-color: var(--fcl-blue-light);
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '>>';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
@media screen and (max-width: 600px) {
html {
height: 100%;
}
.container {
padding: 80px;
}
.button {
width: 150px;
padding: 5px;
font-size: 10px;
}
}