forked from emainguelag/Project_1_Metaverse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page1_history.css
108 lines (89 loc) · 1.72 KB
/
page1_history.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
.h1-subtitle {
margin-top: 0;
padding: 0;
font-style: italic;
font-size: 1em;
margin-left: 2em;
margin-right: 2em;
}
.history-section {
display: grid 1fr;
justify-content:center;
margin:0;
padding: 0;
}
.history-article {
margin: 1.3rem;
padding: 1.3rem;
}
ul.summary {
font-size: 1rem;
font-weight: normal;
margin:1.3rem;
padding: 0;
list-style-type: none;
display: flex;
flex-flow: row wrap;
justify-content:left;
}
ul.summary li {
background-color: var(--bg-color);
padding: 0.5em;
margin: 0.5em;
border: var(--bright-color) 1px solid;
/* border-radius: 2em; */
/* box-shadow: 5px 5px 5px var(--light-color); */
}
ul.summary li:hover {
background-color: var(--bright-color);
}
ul.summary li:hover a{
color:var(--light-color)
}
/* .history-button {
display: inline-block;
font-size: 1rem;
font-weight: bold;
width: auto;
margin: 0;
margin-top: 1rem;
background-color: var(--bg-color);
padding: 0.5em;
border: var(--bright-color) 1px solid;
border-radius: 2em;
box-shadow: 5px 5px 5px grey;
}
.history-button:hover {
background-color: var(--bright-color);
}
.history-button:hover a{
color:var(--light-color)
}
*/
.video-container {
position: relative;
overflow: hidden;
padding-bottom: 56%; /* creates a 560:308 aspect ratio */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* And set the max-width of the parent element */
.video-wrap {
width: 100%;
max-width: 560px;
}
.picture-display {
max-width: 400px;
}
/* Version Desktop */
@media screen and (min-width: 600px) {
.history-section {
display: grid;
grid-template-columns: 1fr 1fr;
}
}