-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (81 loc) · 1.95 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
/* Style sheet for 1 minute web app by Andy Brown */
/* The body needs 50px padding because of the fixed navbar. This is a bootstrap thing. */
body {
padding-top: 50px;
}
h1 {
text-align: center;
}
p {
text-align: justify;
padding-right: 20px;
padding-left: 20px;
margin-top: 20px;
margin-bottom: 20px;
}
section {
/* Allow scrollspy to work without fixed navbar getting in the way of top line*/
padding-top: 50px;
margin-top: -50px;
margin-bottom: -100px;
}
/* Last section can't have negative bottom margin */
.last-section {
margin-bottom: 0px;
}
/*-----------------------------------------------------------------*/
.jumbotron {
background-image: url('/images/background.jpg');
background-size: cover;
text-align: center;
background-position: center;
color: white;
margin-bottom: 0px;
}
.hero {
background: rgba(0, 0, 0, 0.7);
border-radius: 3px;
padding: 30px;
}
.hero p {
text-align: center
}
.jumbotron input {
color: darkgrey;
margin: 5px;
}
.twitter-share-button {
width: 77px;
}
.smoke {
background-color: whitesmoke;
}
/* A sticky footer, or ensuring your footer appears at the bottom of a page whether you have 1 line of text or 50 pages, is annoyingly difficult
The following css deals with it. */
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -100px; /* same as the footer */
}
.wrapper .container {
margin-bottom: 50px; /* deals with mobiles */
}
.push {
height: 50px; /* same as the footer */
}
.footer-wrapper {
position: relative;
height: 50px;
}
/*-----------------------------------------------------------------*/
/* The styling for your footer */
footer {
width: 100%;
/*Do not change the height as it's part of the sticky footer*/
height: 80px;
background-color: whitesmoke;
border-top: 1px solid lightgrey;
padding-top: 10px;
margin-top: 20px;
}