Repository navigation
Expand file tree
/
Copy pathindex.css
More file actions
70 lines (55 loc) · 1.7 KB
/
Copy pathindex.css
File metadata and controls
70 lines (55 loc) · 1.7 KB
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
/* It's ugly, but it works */
body{
background-color: #0064FD;
font-family: "Gill Sans", sans-serif;
}
header{
width: 100%;
position: absolute;
z-index: 1; /* Visual priority | Higher than content */
}
#TitleImage{
background-color: #6100A4;
}
#Title{
background-color: #36FF00;
width: 80%;
padding: 20px 0px 20px 0px; /* Space from the border | Top, right, bottom, left */
text-align: center;
float: right;
font-size: 34px;/* H1 size */
border-radius: 0px 25px 25px 0px; /*Rounded corners | Top left, right, bottom right, left*/
}
#TitleImage button{
float: left;
width: 20%;
padding: 20px 0px 20px 0px; /* Space from the border | Top, right, bottom, left */
border: none;
font-size: 34px;/* H1 size */
border-radius: 25px 0px 0px 0px; /* Rounded corners | Top left, top right, bottom right, bottom left */
}
#TitleImage button:disabled{ /*Optional | Must add disabling to javascript*/
background-color: gray; /* Sets look of button while disabled */
}
#Drop{
background-color: #00FDB0;
text-align: center;
width: 20%;
height: 0px; /* Initialize */
clear: both; /* Clears objects floating both left and right (Title and button) */
border-radius: 0px 0px 25px 25px; /*Rounded corners | Top left, right, bottom right, left*/
overflow: clip; /* Same as hidden, but allows space outside the div*/
}
#Drop ul{
text-align: left;
float: left;
}
main{
position: absolute;
top: 100px;
z-index: 0; /* Visual priority | Lower than header */
}
#ReadBtn{
position: absolute;
bottom:0px;
}