-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstyle.css
More file actions
106 lines (91 loc) · 1.58 KB
/
style.css
File metadata and controls
106 lines (91 loc) · 1.58 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
* {
margin: 0;
padding: 0;
font-family: var(--font-sans);
}
:root {
--bg-primary: #202124;
--bg-secondary: #303134;
--fg-primary: #e8eaed;
--fg-secondary: #969ba1;
--btn-accent: #5f6368;
--blue-accent: #2a6af6;
--font-sans: 'roboto', sans-serif;
}
body {
background-color: var(--bg-primary);
min-height: 100vh;
}
main {
display: flex;
flex-direction: column;
gap: 1.5rem;
align-items: center;
min-width: 400px;
max-width: 600px;
width: 80%;
margin: 20vh auto;
}
form {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
gap: 1.75rem;
}
form div {
display: flex;
justify-content: center;
gap: 1rem;
}
.btn {
all: unset;
cursor: pointer;
}
.btn--primary {
border-radius: 4px;
background-color: var(--bg-secondary);
color: var(--fg-primary);
padding: .7rem 1.25rem;
}
input[type="text"] {
all: unset;
width: 100%;
border-radius: 100px;
border: 2px solid var(--bg-secondary);
height: 2.75em;
padding-left: 1.25rem;
color: var(--fg-primary);
}
.main__title {
width: 272px;
height: 92px;
position: relative;
}
.actions {
width: 100%;
display: flex;
justify-content: end;
gap: 1.5rem;
padding-block: 1.25rem;
color: var(--fg-primary);
margin-left: -1.5rem;
}
.hero-accent {
position: absolute;
bottom: 0;
right: 0;
color: var(--blue-accent);
}
.main__title img {
width: 100%;
}
@media (hover: hover) {
input:hover, input:focus {
background-color: var(--bg-secondary)
}
.btn--primary:hover {
outline: 1px solid var(--btn-accent)
}
}