blob: 28a2c31fbeedcc295e8c07eceae7be186a11825f (
plain)
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
|
/*removes margins for all*/
* {
margin: none;
padding: none;
background-color : #262626;
color: #d9d9d9;
font-family: monospace;
font-size: 110%;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
}
h {
display: block;
font-size: 120%;
color: #5dc833;
margin-top: 2vh;
}
.main {
display: block;
/*to center we give it automargins*/
margin-left: auto;
margin-right: auto;
/*won't be wider than the 1.5 * screen is tall so that it doesn't mess up
* the aspect ratio
*/
max-width: 150vh;
}
/*this is the banner image, we want this to cover the whole screen at first*/
.banner {
display: block;
/*make it cover up whole screen*/
height: 100vh;
width: auto;
/*center*/
margin-left : auto;
margin-right: auto;
/* width is 1.5height */
/* we do not want 1.5 * heigh to exceed 100vw*/
max-height:60vw;
}
/*cuts off any overflow*/
.bannerholder {
display: block;
overflow: hidden;
}
.exampleimage{
/*block, but still linebreaks*/
display: inline-block;
width: 24%;
min-width: 30vh;
height: auto;
}
/*for centering the above*/
.img-holder{
display: block;
/*centers the inline blocks*/
text-align: center;
}
/*child of list*/
.listchild{
font-size: 90%;
}
|