-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
83 lines (68 loc) · 1.51 KB
/
index.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
/* This css file contains global style that can be used by all components */
body {
font-family: 'Open Sans', sans-serif;
}
/* Images are always scaled to occupy available space, so use external divs to change size */
img {
width: 100%;
height: 100%;
}
/* Always leaving some space before and after a horizontal line */
/* For small display */
@media only screen and (min-width: 768px) {
hr {
margin: 15% 0 15% 0;
}
}
/* For large display */
@media only screen and (min-width: 1200px) {
hr {
margin: 8% 0 8% 0;
}
}
/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
height: 5px;
width: 5px;
}
::-webkit-scrollbar-track {
background-color: white;
}
::-webkit-scrollbar-thumb {
background-color: lightgray;
}
::-webkit-scrollbar-thumb:hover {
background-color: gray;
}
/* BACKGROUND DIV */
/* This reppresents the background div that stretches across the whole page, except navbar */
/* For small display */
@media only screen and (min-width: 768px) {
.background-div {
margin: 2%;
}
}
/* For Large display */
@media only screen and (min-width: 1200px) {
.background-div {
margin: 8%;
}
}
/* SUB HEADING */
/* For all screen sizes */
.sub-heading {
font-weight: 700;
margin: 2% 1% 2% 1%;
}
/* For small displays */
@media only screen and (min-width: 768px) {
.sub-heading {
font-size: 45px;
}
}
/* For large displays */
@media only screen and (min-width: 1200px) {
.sub-heading {
font-size: 25px;
}
}