-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (109 loc) · 2.4 KB
/
style.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
114
115
116
117
118
119
120
121
122
123
124
:root {
--white: #fff;
--blue: #153f59;
}
/*Margin and Padding */
h2 {
margin-left: 20px;
margin-top: 20px;
font-size: 40px;
}
.margin-and-padding {
margin-top: 40px;
}
#n1 {
margin-left: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top: 6px;
padding-bottom: 6px;
color: var(--white);
background-color: var(--blue);
cursor: pointer;
font-size: 20px;
border: none;
transition: padding-left 0.1s, padding-right 0.1s, margin-left 0.1s, margin-right 0.1s;
}
#n2 {
margin-left: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top: 6px;
padding-bottom: 6px;
color: var(--white);
background-color: var(--blue);
cursor: pointer;
font-size: 20px;
border: none;
transition: padding-left 0.1s, padding-right 0.1s, margin-left 0.1s, margin-right 0.1s;
}
#n3 {
margin-left: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top: 6px;
padding-bottom: 6px;
color: var(--white);
background-color: var(--blue);
cursor: pointer;
font-size: 20px;
border: none;
transition: padding-left 0.1s, padding-right 0.1s, margin-left 0.1s, margin-right 0.1ms;
}
/*Margin Effects*/
#n1:hover {
padding-left: 30px;
padding-right: 30px;
margin-left: 10px;
margin-right: -10px;
}
#n2:hover {
padding-left: 30px;
padding-right: 30px;
margin-left: 10px;
margin-right: -10px;
}
#n3:hover {
padding-left: 30px;
padding-right: 30px;
margin-left: 10px;
margin-right: -10px;
}
/*Stretch*/
#stretch {
border: 0;
margin-left: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
color: var(--white);
background-color: var(--blue);
cursor: pointer;
transition: padding-left 0.6s, padding-right 0.6s, padding-top 0.6s,
padding-bottom 0.6s, font-size 0.6s;
}
#stretch:hover {
padding-left: 50px;
padding-right: 50px;
padding-top: 25px;
padding-bottom: 25px;
font-size: 30px;
}
/*Shadow*/
#shadow {
border: none;
color: var(--white);
background-color: var(--blue);
margin-left: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top: 10px;
padding-bottom: 10px;
cursor: pointer;
}
#shadow:active {
margin-top: -2px;
margin-left: 18px;
box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.493);
}