-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathhome_style.css
131 lines (116 loc) · 2.33 KB
/
home_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
body, html {
height: 100%;
background: url("images/home.jpg") no-repeat center center fixed;
background-size: cover;
}
.flex-container-background {
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
flex-direction: column;
overflow: auto;
width: auto;
}
.flex-container {
display: -webkit-flex;
display: flex;
}
.flex-item {
margin: auto;
margin-top: 0px;
background: transparent;
justify-content: center;
align-content: center;
}
.flex-item-0 {
margin: auto;
width: 100%;
background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
}
.flex-item-1 {
margin: auto;
margin-top: 50px;
background: rgba(0, 0, 0, .5);
width: 500px;
border-radius: 10px;
justify-content: center;
}
@media screen and (max-width: 540px) {
.flex-item-1 {
margin-top: 0px;
width: 300px;
}
}
@media screen and (max-width: 340px) {
.flex-item-1 {
margin-top: 0px;
width: auto;
}
}
h1[id="form_header"] {
line-height: 60px;
margin-left: 20px;
font-family: Roboto-Thin;
font-size: 50px;
text-align: center;
color: white;
}
/* Bordered form */
form {
border: 2px solid #f1f1f1;
border-radius: 10px;
}
h2 {
font-family: OpenSans-Light;
color: white;
font-size: 40px;
margin-left: 10px;
margin-top: 5px;
margin-bottom: 10px;
}
.flex-item-login {
margin: auto;
margin-top: 0px;
margin-bottom: 5px;
background-color: transparent;
justify-content: center;
}
/* Full-width inputs */
input[type=text], input[type=password] {
font-family: Roboto-Regular;
color: #212121;
font-size: 18px;
width: 90%;
height: 40px;
margin: 10px;
padding: 1px 1px;
bottom: 0;
border: 0;
box-sizing: border-box;
background-color: white;
border-radius: 3px;
}
/* Set a style for all buttons */
button {
background-color: #4CAF50;
border: none;
color: white;
width:90%;
height: 40px;
bottom: 0;
border: 0;
font-family: OpenSans-Regular;
padding: 1px 1px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 18px;
margin: 10px;
cursor: pointer;
border-radius: 3px;
align-content: center;
}
/* Add a hover effect for buttons */
button:hover {
opacity: 0.8;
}