Repository navigation
Expand file tree
/
Copy pathresponsive.css
More file actions
89 lines (88 loc) · 1.81 KB
/
Copy pathresponsive.css
File metadata and controls
89 lines (88 loc) · 1.81 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* Style the nav bar for small media */
.small-nav {
background-color: #002855;
padding: 10px;
text-align: center;
color: #d6d8db;
width: 100%;
display: none;
}
.small-nav ul {
list-style-type: none;
margin: 5px;
padding: 2px;
overflow: hidden;
}
.small-nav li {
display: inline-block;
text-decoration: none;
padding: 2px;
width: 110px;
}
.small-nav a {
text-decoration: none;
width: 100%;
padding: 5px;
text-align: center;
}
.small-nav li a:hover {
background-color: #555;
color: white;
}
.smallNavItem {
text-decoration: none;
font-size: 10px;
text-align: left;
padding-left: 10px;
margin: 0px;
}
.smallNavItem a:hover {
background-color: #555;
color: white;
}
a.smallNavTop {
display: none;
padding: 5px;
margin: 0px;
font-size: 10px;
background-color: #009933;
color: white;
text-decoration: none;
}
/* Changes layout on small screens */
@media screen and (max-width: 900px) {
main, .column, header, .mainContent, .mainSub, .headerSub {
width: 90%;
height: auto;
margin: 15px;
}
.homeNav, .rightSide, .navSub {
display: none;
}
.small-nav { display: block; }
a.smallNavTop { display: inline-block; }
.smallNavItem { text-align: center; }
.dropdown {float:left}
.dropdown:hover .dropdown-content {
position: relative;
width: 30px;
font-size: 8px;
box-shadow: none;
}
.blogContent, .pastblogContent, .pastblogOverview {
width: 80%;
}
.standingsList {
list-style-type: none;
-webkit-column-count: 1; /* Chrome, Safari, Opera */
-moz-column-count: 1; /* Firefox */
column-count: 1;
}
.tricolumn, .bicolumn {
list-style-type: none;
-webkit-column-count: 1; /* Chrome, Safari, Opera */
-moz-column-count: 1; /* Firefox */
column-count: 1;
}
.weekdays li, .days li {width: 12%;}
}