-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
170 lines (141 loc) · 2.63 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
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
:root{
margin: 0;
padding: 0;
--color-main: #285367;
--color-secondary: #e08f0c;
font-family: 'Kalam', cursive;
}
html{
margin: 0;
padding: 0;
}
body{
margin: 0;
}
main{
display: flex;
margin: 0;
padding: 0;
min-height: 100vh;
}
h2{
font-size: 1.5rem;
color: white;
}
h3{
font-size: 1.4rem;
}
.hero{
background-image: url("images/books.jpg");
background-size: cover;
background-repeat: no-repeat;
flex: 1 1 50%;
margin: 0;
position: relative;
}
.logo-container{
position: absolute;
background-color: rgb(0,0,0, 0.8);
width: 100%;
top: 10rem;
min-height: 8rem;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}
.odin{
max-width: 25%;
}
.logo-container p{
color: white;
}
.form-container{
background-color: #f0f0f0;
}
.info{
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 0rem 2rem;
}
.info p{
font-size: 1.35rem;
margin: 0.5rem;
}
.form-question-ctn{
background-color: white;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
padding: .5rem 1rem;
box-shadow: 1px 1px 3px rgb(34, 34, 34);
}
.form-question-ctn h3{
margin: 0rem;
}
.form-question-ctn div{
display: flex;
flex-direction: column;
}
input{
border-radius: 0.2rem;
border: 1px black solid;
max-width: 75%;
font-size: 1.2rem;
}
input:focus{
outline: none;
border-color: var(--color-secondary);
}
#sub-btn{
margin: 0.25rem 2rem;
padding: 0.5rem 1.5rem;
border: none;
background-color: var(--color-main);
color: white;
border-radius: 0.25rem;
transition: 100ms;
font-size: 1.10rem;
}
#sub-btn:hover{
background-color: var(--color-secondary);
cursor: pointer;
}
.login-msg-contain{
margin: 0rem 2rem;
}
.link{
color: var(--color-main);
text-decoration: none;
transition: 100ms;
}
.link:hover{
color: var(--color-secondary);
}
@media only screen and (max-width: 800px) {
main{
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
}
.form-question-ctn{
background-color: white;
display: grid;
grid-template-columns: repeat(1, 1fr);
gap: 2rem;
padding: .5rem 2rem;
}
.logo-container{
position: static;
background-color: rgb(0,0,0, 0.8);
width: 100%;
top: 10rem;
min-height: 8rem;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}
}