-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoogleapi.css
More file actions
81 lines (71 loc) · 1.73 KB
/
Copy pathgoogleapi.css
File metadata and controls
81 lines (71 loc) · 1.73 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
/* ============================================================
googleapi.css -- Beta Educational Platform
CSS Houdini: @property --btn-glow, paint(dot-grid)
============================================================ */
@property --btn-glow {
syntax: '<length>';
inherits: false;
initial-value: 0px;
}
body { margin: 0; padding: 0; }
.header {
height: 100vh;
--dot-color: rgba(255,255,255,0.5);
--dot-spacing: 26;
--dot-radius: 2;
--dot-opacity: 1;
background-image:
paint(dot-grid),
linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
url(https://images-na.ssl-images-amazon.com/images/I/816TAI7MsdL._AC_SL1500_.jpg);
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
font-family: sans-serif;
}
h1 {
color: #fff;
margin-bottom: 70px;
font-size: 45px;
letter-spacing: 2px;
text-align: center;
font-family: 'Times New Roman', serif;
}
.search-field {
height: 30px;
padding: 10px;
border: none;
border-radius: 25px;
outline: none;
transition: box-shadow 0.3s ease;
}
.search-field:focus { box-shadow: 0 0 0 3px rgba(168,50,50,0.4); }
.google { width: 400px; }
.university { width: 200px; }
.search-btn {
--btn-glow: 0px;
height: 50px;
width: 150px;
background: rgb(168, 50, 50);
border: none;
color: #fff;
border-radius: 25px;
cursor: pointer;
font-weight: 600;
letter-spacing: 0.05em;
box-shadow: 0 0 var(--btn-glow) rgba(168,50,50,0.7);
transition: --btn-glow 0.4s ease, background 0.3s ease;
}
.search-btn:hover {
--btn-glow: 16px;
background: #ffc107;
color: #111;
}
.form-box {
background: rgba(0,0,0,0.5);
padding: 30px;
border-radius: 8px;
backdrop-filter: blur(4px);
}