-
Notifications
You must be signed in to change notification settings - Fork 1
/
vehicle.css
77 lines (67 loc) · 1.16 KB
/
vehicle.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
.green {
background-color: #08231E;
}
#vehicle {
display: grid;
width: 100%;
/*height: 250px;
grid-template-areas:
"head perfs"
"nav main"
"nav foot"
"sources sources";
grid-template-rows: 6rem 50% 50% 50%;
grid-template-columns: 1fr 1fr;*/
display: flex;
flex-direction: column;
}
#vehicle > #header {
/*grid-area: head;*/
display: flex;
}
#header > h1 {
/*grid-area: head;*/
font-size: 3.5rem;
line-height: 5rem;
}
#terrain {
height: 5rem;
vertical-align: middle;
}
#name {
margin-left: 1rem;
min-width: 0;
/*overflow: auto;
text-overflow: ellipsis; white-space: nowrap; overflow: hidden;*/
word-break: break-word;
}
#perk {
height: 7rem;
margin-left: auto;
margin-right: 1rem;
}
#vehicle > #perfs {
/*grid-area: perfs;*/
}
#vehicle > #preview {
/*grid-area: nav;*/
width: 100%;
aspect-ratio: 16 / 9;
display: flex;
justify-content: center;
}
#vehicle > #preview > img {
aspect-ratio: 16 / 9;
object-fit: contain;
width: 100%;
height: 100%;
}
#vehicle > #surplus {
/*grid-area: main;*/
}
#vehicle > #components {
/*grid-area: foot;*/
}
#vehicle > #sources {
/*grid-area: sources;*/
}