-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
83 lines (79 loc) · 1.45 KB
/
index.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
html, body{
margin:0 auto;
height:100%;
font-family: Arial, Helvetica, sans-serif;
--nav-height: 70px;
}
/* For the headers that will be present in every page */
.default-header {
display: flex;
padding: 1em;
}
main {
height:100%;
}
/* main page title and name styles */
.options {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.options h1 {
font-size: 4rem;
}
.options h3 {
color: grey;
}
.options a {
text-decoration: none;
}
.options .btn {
width: 140px;
margin: 1rem
}
/* For buttons */
.btn {
border: none;
border-radius: 7px;
padding: 1rem 2rem;
transition: all 200ms ease;
}
.btn:hover {
cursor: pointer;
background-color: lightgray;
}
.btn:active {
transform: scale(1.1);
background-color: gray;
}
.back-btn {
padding: 0.6em 1.5rem;
margin-left: 1em;
}
/* For input styles */
.input {
border: 1px solid lightslategray;
border-radius:7px;
padding: 1rem 0.5rem;
}
.input:focus-visible {
outline:1px solid lightskyblue;
}
/* for logo image styling */
@keyframes spinning {
from { transform: rotate(0deg) }
to { transform: rotate(360deg) }
}
.logo-image {
width: 22px;
height: 29px;
margin-right: 5px;
}
.img:hover {
animation-name: spinning;
animation-duration: 0.01s;
animation-iteration-count: infinite;
/* linear | ease | ease-in | ease-out | ease-in-out */
animation-timing-function: linear;
}