forked from kyle-sung/Sports-Predictor-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
59 lines (52 loc) · 1 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
/*GLOBALS*/
body{
padding: 0;
margin: 0;
background-color: #E9E9E9;
height: 100%;
width: 100%;
scroll-behavior: smooth;
}
html{
height: 100%;
width: 100%;
margin: 0;
scroll-behavior: smooth;
}
.container{
width: 90%;
margin: auto;
overflow: hidden;
}
/*Navigation Bar*/
header{
min-height: 70px;
background-color: rgb(0, 195, 255);
position: relative;
box-shadow: 0px 1px 5px 2px #0e0e0e;
}
header li{
display: inline;
padding: 0 20px 0 20px; /*top, right, bottom, left*/
}
header nav{
margin-top: 10px;
float: right;
list-style-type: none;
}
/*showcase1*/
#showcase{
min-height: 100%;
background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url(images/hill.jpg) no-repeat;
background-size: cover;
}
#showcase h1{
position: relative;
-webkit-transform: translate(-50%,-50%);
transform: translate(-50%,-50%);
position: absolute;
top: 40%;
left: 50%;
width: 100%;
text-align: center;
}