-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.css
More file actions
190 lines (168 loc) · 3.38 KB
/
web.css
File metadata and controls
190 lines (168 loc) · 3.38 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
header {
background-color: #4CAF50;
color: white;
text-align: center;
padding: 1em 0;
font-size: 2em;
}
.content {
max-width: 800px;
margin: 20px auto;
padding: 20px;
background-color: white;
border-radius: 5px;
}
.intro {
text-align: center;
margin-bottom: 20px;
}
.sections {
display: flex;
justify-content: space-around;
margin-top: 20px;
}
.section {
width: 30%;
text-align: center;
}
.footer {
text-align: center;
margin-top: 40px;
font-size: 0.9em;
color: #777;
}
.section-icon {
font-size: 48px;
color: #4CAF50; /* matching the header color for consistency */
display: block;
margin: 0 auto 15px auto; /* centered icon with space below */
}
.google-styled-button {
display: inline-block;
background-color: #4CAF50; /* Google green */
color: white;
border: none;
padding: 10px 20px;
border-radius: 4px;
font-size: 1em;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s ease;
}
.google-styled-button:hover {
background-color: #43a047; /* Darken the Google green a bit on hover */
}
footer {
position: fixed; /* Keeps the footer at the bottom-right regardless of scrolling */
right: 10px; /* Distance from the right edge of the viewport */
bottom: 10px; /* Distance from the bottom edge of the viewport */
font-size: 0.9em;
color: #777;
}
.fade-in {
opacity: 0;
animation-name: fadeIn;
animation-duration: 1.5s;
animation-timing-function: ease-in;
animation-fill-mode: forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.google-styled-button:hover {
transform: scale(1.05); /* Slightly enlarges the button */
transition: transform 0.3s ease-in-out;
}
.slide-in-from-right {
transform: translateX(100%); /* Start off the right side of the screen */
animation: slideIn 1s forwards;
}
@keyframes slideIn {
to {
transform: translateX(0); /* Slide into its natural position */
}
}
.material-icons:hover {
transform: rotate(15deg); /* Slight rotation */
transition: transform 0.3s ease-in-out;
}
.bounce-in {
animation: bounce 1s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-10px);
}
60% {
transform: translateY(-5px);
}
}
.rotate {
animation: spin 4s linear infinite;
}
@keyframes spin {
100% {
transform: rotate(360deg);
}
}
.pulse {
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.wiggle {
animation: wiggle 1s ease-in-out infinite;
}
@keyframes wiggle {
0% {
transform: rotate(-3deg);
}
50% {
transform: rotate(3deg);
}
100% {
transform: rotate(-3deg);
}
}
.slide-up-hover:hover {
transform: translateY(-5px);
transition: transform 0.3s ease-in-out;
}
body {
display: flex;
flex-direction: row; /* Change to row to align content side by side */
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
}
main {
flex-grow: 1; /* Allow the main content to take available space */
}
aside {
/* Adjust the width of the aside to control the video size */
width: 50%; /* You can adjust this percentage as needed */
padding: 20px; /* Add padding for spacing */
}
/* Optionally, you can style the video iframe further if needed */
iframe {
width: 100%;
height: 100%;
}