Skip to content

Commit 12d36c2

Browse files
Create website.css
1 parent 96c8a76 commit 12d36c2

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

website.css

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
/* OVERRIDES */
2+
.markdown-section{
3+
font-size: 1.7rem;
4+
line-height: 1.5;
5+
}
6+
7+
.markdown-section blockquote{
8+
color: auto;
9+
}
10+
11+
/* VIDEO */
12+
13+
.video-wrapper {
14+
position: relative;
15+
padding-bottom: 56.25%; /* 16:9 */
16+
padding-top: 25px;
17+
height: 0;
18+
}
19+
.video-wrapper iframe {
20+
position: absolute;
21+
top: 0;
22+
left: 0;
23+
width: 100%;
24+
height: 100%;
25+
}
26+
27+
/* IMAGES */
28+
29+
.img-left{
30+
float: left;
31+
margin-right: 1em;
32+
clear: both;
33+
}
34+
35+
.img-right{
36+
float: right;
37+
margin-left: 1em;
38+
clear: both;
39+
}
40+
41+
.img-200px{ width: 200px; }
42+
.img-250px{ width: 250px; }
43+
.img-300px{ width: 300px; }
44+
.img-50pc{ width: 50%; }
45+
46+
hr{clear: both;}
47+
48+
.mobile-visible{
49+
display: none;
50+
}
51+
.mobile-hidden{
52+
display: inherit;
53+
}
54+
55+
/*
56+
These rules only apply to screens less than 600px wide.
57+
They override rules placed earlier in this file.
58+
*/
59+
@media only screen and (max-width: 600px) {
60+
.img-50pc, .img-250px, .img-300px, .img-500px{
61+
width: 100%;
62+
}
63+
.img-left, .img-right{
64+
clear: both;
65+
float: none;
66+
}
67+
.mobile-visible{
68+
display: inherit;
69+
}
70+
.mobile-hidden{
71+
display: none;
72+
}
73+
}

0 commit comments

Comments
 (0)