-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
75 lines (75 loc) · 1.2 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
:root{
text-align: center;
margin: 0;
padding: 0;
}
body{
margin: 0;
padding: 0;
}
div#all{
margin: 0;
padding: 0;
}
div#title_banner{
margin: 0;
padding: 0;
background-color: #307a25;
color: #ffffff;
padding: 3rem 0;
}
h1{
font-weight: lighter;
}
h2{
text-decoration: underline;
font-weight: lighter;
color: #307a25;
}
ul{
display: inline-block;
text-align: left;
}
li{
position: relative;
}
#products li, #links li{
list-style-type: none;
}
#products li::before, #links li::before{
position: absolute;
left: -1rem;
top: 0.3rem;
content: "";
width: 0.5rem;
height: 0.7rem;
border-radius: 0.3rem 0 0 0.3rem;
background-color: #307a25;
}
a{
display: inline-block;
position: relative;
text-decoration: none;
color: #0b6ca9;
}
a:hover{
color: #ba5d00
}
a:visited{
color: #0b4aa9;
}
a::after{
position: absolute;
bottom: 0.3rem;
left: 0;
content: "";
width: 100%;
height: 0.05rem;
background-color: #0b6ca9;
transform: rotateZ(-10deg) scaleX(0);
transform-origin: center;
transition: transform 500ms;
}
a:hover::after{
transform: rotateZ(0) scaleX(1);
}