-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.css
More file actions
125 lines (122 loc) · 2.67 KB
/
Copy pathcss.css
File metadata and controls
125 lines (122 loc) · 2.67 KB
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
114
115
116
117
118
119
120
121
122
123
124
125
body
{
margin: 0;
display: flex;
align-items: top;
justify-content: center;
background-image: linear-gradient(to right, #868f96 0%, #596164 100%);
}
nav
{
background-color: white;
font-weight: bold;
font-size: 1.7rem;
border-radius: 2rem;
border: 0px;
padding: 0 2rem;
margin-top: 50px;
margin-bottom: 50px;
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}
nav ul{
margin: 0;
padding: 0;
list-style: none;
}
nav ul li{
display: inline-block;
margin: 0 10px;
position: relative;
}
nav ul li a{
display: block;
height: 50px;
width: 250px;
text-align: center;
line-height: 50px;
color: inherit;
text-decoration: none;
position: relative;
}
nav ul li a:before{
content: attr(text);
display: block;
position: absolute;
top: 0; left: 0; right: 0; bottom: 0;
height: 100%;
width: 100%;
border-radius: -2rem;
background-color: #e6cd68;
transform: rotateX(-90deg);
transform-origin: top;
transition: 0.7s;
color: white;
border-radius: 0 0 5px 5px;
}
nav ul li a:hover:before
{
transform: rotateX(0deg);
}
.card
{
display:relative;
background: #e6cd68;
margin-top: 30px;
margin-bottom: 30px;
margin-left: 10px;
margin-right: 10px;
padding-left: 60px;
padding-right: 60px;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 2rem;
font-size:x-large;
text-align: center;
}
.card2
{
display:relative;
background: #e6cd68;
margin-top: 20px;
margin-bottom: 40px;
margin-left: 10px;
margin-right: 10px;
padding-left: 60px;
padding-right: 60px;
padding-top: 10px;
padding-bottom: 10px;
border-radius: 2rem;
font-size:x-large;
text-align: left;
}
.floating-button {
text-decoration: none;
display: inline-block;
position: absolute;
left: 0px;
top: 45%;
width: 100px;
height: 70px;
line-height: 45px;
border-radius: 0 45px 45px 0;
margin: 0px 0px;
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size:medium;
padding-bottom: 40px;
padding-top: 20px;
padding-right: 10px;
text-transform: uppercase;
text-align: center;
letter-spacing: 0.5px;
font-weight: 600;
color: #524f4e;
background: white;
box-shadow: 0 8px 15px rgba(0, 0, 0, .1);
transition: .3s;
}
.floating-button:hover {
background: #e6cd68;
box-shadow: 0 15px 20px #5f542a;
color: white;
transform: translateY(-7px);
}