-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainPage.css
122 lines (115 loc) · 2.71 KB
/
MainPage.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
body,h1,h2,label {
font-family: "Raleway", sans-serif;
}
#Sign2{
margin-left: -200px;
}
#Sign1{
margin-left: 160px;
}
body, html {
height: 100%
}
label{
display:inline-block;
width:100px;
}
input[type=text],input[type=password],input[type=email] {
padding: 6px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}
input[type=submit] {
background-color: #4682B4;
color: white;
text-align: center;
padding: 6px 20px;
margin: 8px 0;
margin-left: 100px;
border: none;
border-radius: 5px;
cursor: pointer;
display: inline-block;
}
.button:hover,input[type=submit]:hover {
background-color: grey;
}
.button {
background-color: #4682B4;
color: white;
border: none;
border-radius: 5px;
padding: 12px 30px;
margin: 8px 0;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 12px;
font-family: "Raleway";
cursor: pointer;
}
#SignIn{
width: 40%;
margin-top: 30px;
margin-left: 10px;
}
.form1{
float: left;
margin-left: 75px;
}
#SignUp{
width: 40%;
margin-top: 30px;
margin-left: 60px;
}
.form2{
float: right;
margin-right: 120px;
}
.bgimg {
background-image: url('forestbridge.jpg');
min-height: 100%;
background-position: center;
background-size: cover;
}
/* The Overlay (background) */
.overlay {
/* Height & width depends on how you want to reveal the overlay (see JS below) */
height: 100%;
width: 0;
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
background-color: rgb(0,0,0); /* Black fallback color */
background-color: rgba(0,0,0, 0.7); /* Black w/opacity */
overflow-x: hidden; /* Disable horizontal scroll */
transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}
/* Position the content inside the overlay */
.overlay-content {
position: relative;
top: 25%; /* 25% from the top */
width: 100%; /* 100% width */
text-align: center; /* Centered text/links */
margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}
/* Position the close button (top right corner) */
.overlay .closebtn {
position: absolute;
top: 20px;
right: 45px;
font-size: 60px;
}
/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
.overlay a {font-size: 20px}
.overlay .closebtn {
font-size: 40px;
top: 15px;
right: 35px;
}
}