-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
159 lines (130 loc) · 2.43 KB
/
styles.css
File metadata and controls
159 lines (130 loc) · 2.43 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/* Data Table */
body {
font-family: Arial;
padding: 10px;
background-color: #55616d;
}
.frame {
text-align: center;
}
.filters {
text-align: center;
}
/* Header/Blog Title */
.header {
padding: 10px;
text-align: center;
}
.header h1 {
font-size: 50px;
}
/* The navbar container */
.topnav {
overflow: hidden;
background-color: rgb(199, 223, 255);
text-align: center;
}
/* Navbar links */
.topnav a {
float: left;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
/* Links - change color on hover */
.topnav a:hover {
background-color: #ddd;
color: black;
}
/* Footer */
.footer {
padding: 20px;
text-align: center;
background: #ddd;
margin-top: 20px;
}
/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
float: left;
width: 70%;
}
/* Right column */
.rightcolumn {
float: right;
width: 25%;
}
/* Add a card effect for articles */
.card {
background-color: white;
padding: 20px;
margin-top: 20px;
}
.card2 {
background-color: white;
margin-top: 20px;
}
.card2 {
background-color: white;
}
.card2 h3 {
background-color: white;
padding: 16px;
}
.card2 a {
float: left;
font-size: 10pt;
background-color: rgb(9, 18, 66);
color: white;
text-align: center;
margin-left: 16px;
padding: 5px 13px;
text-decoration: none;
}
/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}
/* Footer */
.footer {
padding: 20px;
text-align: center;
background: #ddd;
margin-top: 20px;
}
.footer p{
float: left;
color: rgb(141, 140, 140);
text-align: center;
display: block;
text-decoration: none;
background: #ddd;
}
/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
.leftcolumn, .rightcolumn {
width: 100%;
padding: 0;
}
}
/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
.topnav a {
float: none;
width: 100%;
}
}
background-color: #ddd;
color: black;
}
/* Footer */
.footer {
padding: 20px;
text-align: center;
background: #ddd;
margin-top: 20px;
}