-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (86 loc) · 1.65 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
body {
background: lightblue;
}
/* every box is this size */
.skyblue {
background: deepskyblue;
}
.box{
padding: 10px;
background: white;
margin-top:50px;
margin-left:5px;
margin-right:5px;
margin-bottom:20px;
align-content: center;
}
/* Giving our navbar some padding and a background color */
.navbar {
margin-right: 0px;
margin-left: 0px;
padding: 25px;
background: #5D6D7E;
}
/* Making our navbar li's inline-block elements this makes it so we can have multiple on the same line. Floats could have been used too */
.navbar li {
display: d-block;
padding: 10px;
margin-right: 0px;
margin-left: 0px;
cursor: pointer;
}
h1 {
font-size: 35px;
}
h2 {
font-size: 20px;
}
p{
font-size: 18px;
}
.c-d{color:white;
font-size: 25px;
}
.latitude {
color: white;
font-family: verdana;
font-size: 40px;
background-color: #2874A6;
border: 1px solid #2874A6;
padding: 15px;
}
/* Adding media queries to show the drop-down, and hide the navbar when the screen is smaller than 480 pixels */
@media (max-width: 480px) {
.navbar li {
padding: 10px;
}
.box {
margin-right: 20px;
margin-left: 20px;
}
.navbar ul {
visibility: hidden;
}
#nav-select {
visibility: visible;
}
}
/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}
@media only screen and (max-width: 768px) {
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
}