-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
121 lines (92 loc) · 1.93 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
html, body {
height:100%; /* needed so background image would cover/fit the whole screen */
font-family: 'Lato', sans-serif, Helvetica
}
body {
background-image: url("https://www.nasa.gov/sites/default/files/styles/full_width_feature/public/thumbnails/image/iss062e102390.jpg");
background-repeat: no-repeat;
color: white;
text-align: center;
background-size: cover;
background-color: black;
}
.logo {
height: 80px;
margin: 0 auto;
}
.top {
margin-top: 50px;
margin-bottom: 50px;
font-size: 2.5rem;
}
.top h4 {
font-size: 1.4rem;
padding: 8px 0
}
button{
background: rgba(105, 99, 99, 0.7);
padding: 6px;
color: white;
border: none;
font-size: 1rem;
}
input {
padding: 6px;
color: white;
background: rgba(105, 99, 99, 0.7);
border: none;
font-size: 1rem;
}
img, iframe {
display: block;
margin-left: 0;
margin-right: auto;
max-width: 55%;
max-height: 70%;
/*min-width: 20%; */
}
iframe {
width: 100%;
height: 100%;
}
div.description {
background-color: rgba(19, 18, 18,.60);
padding: 40px;
margin-left: 20px;
width: 45%;
height: 50%;
border: white 2px solid;
font-size: 1.0rem;
overflow: auto;
}
.description h2 {
margin-bottom: 20px;
font-size: 1.8rem;
}
.imageandtext {
display: flex;
flex-direction: row;
justify-content: center;
width: 80%;
height: 70%;
margin: 0 auto;
}
@media screen and (max-width:800px){
div.description{
width: 90%;
height: 100%;
margin: 0 auto;
overflow: auto;
padding: 5%;
}
img, iframe{
max-width: 100%;
max-height: 100%;
margin-left: auto;
}
.imageandtext {
display: block;
height: 100%;
width: 90%;
}
}