-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
110 lines (96 loc) · 2.14 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
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap');
*, *::before, *::after {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: 'Open Sans Pro', sans-serif;
}
:root {
--bg-default-colour: rgb(22, 22, 22);
--bg-default-colour-hover: rgb(19, 18, 18);
--text-colour: white;
--overlay-colour: rgba(0, 0, 0, 0.6);
}
body {
min-width: 100vw;
min-height: 100vh;
background: var(--bg-default-colour);
background-image: url('./assets/bg2.png');
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
html, body {
height: 100%;
width: 100%;
}
.overlay {
height: 100%;
width: 100%;
background: var(--overlay-colour);
}
.center-all {
height: 100%;
width: 100%;
display: grid;
place-items: center;
}
#infoBox {
background: var(--text-colour);
color: var(--bg-default-colour);
border-radius: 5px;
min-width: 30rem;
max-width: 30rem;
padding: 2rem 1rem 0.8rem;
display: grid;
}
#infoBox > #avatarBox {
margin: 0 auto;
width: 10rem;
height: 10rem;
border: non;
box-shadow: 2px 3px 10px 3px rgba(0, 0, 0, 0.486);
}
#infoBox > #usernameInput {
margin: 1rem auto 0;
padding: 1rem;
text-align: center;
font-size: 1rem;
letter-spacing: 0.1rem;
width: 25rem;
border: 1px solid black;
border-radius: 5px;
}
#usernameInput:focus {
outline: none;
}
#infoBox > button {
margin: 1rem auto 0;
padding: 1rem;
width: 10rem;
cursor: pointer;
border: none;
background: var(--bg-default-colour);
color: var(--text-colour);
font-size: 0.9rem;
letter-spacing: 0.1;
text-transform: capitalize;
transition: all 200ms;
}
#infoBox > button:hover {
background: var(--bg-default-colour-hover);
}
#infoBox > #accountCreationDate {
margin: 0 auto;
font-size: 1.5rem;
font-weight: bold;
}
#infoBox > a {
margin: 0 auto;
font-size: 0.75rem;
text-decoration: none;
color: var(--text-colour);
background: rgb(97, 6, 36);
padding: 12px 15px;
border-radius: 50px;
}