-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
107 lines (87 loc) · 1.37 KB
/
styles.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: sans-serif;
color: grey;
}
.main {
padding: 2rem;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
}
img {
display: block;
width: 100%;
height: 100%;
border-radius: 0.5rem;
object-fit: cover;
}
.content {
background-color: black;
color: aliceblue;
display: grid;
grid-template-rows: 1fr 90%;
gap: 2rem;
border-radius: 0.5rem;
padding: 5px;
}
.tabTitle {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
text-align: center;
background-color: #000;
color: #000;
}
h2 {
font-size: 2rem;
cursor: pointer;
background-color: pink;
}
h2:hover {
box-shadow: 0px 0px 40px rgba(0, 255, 0, 0.6);
background-color: green;
color: white;
}
.tabs {
display: grid;
grid-template-rows: auto 1fr;
padding: 1rem;
gap: 2rem;
height: 400px;
}
.invisible {
display: none;
}
.tab {
padding: 1rem;
display: none;
}
.tab.live {
display: block;
}
.button {
transition: all 0.3s linear;
}
.button.live {
background: #000;
color: #fefefe;
}
@media (max-width: 992px) {
.img {
margin-bottom: 0;
}
.main {
display: flex;
flex-direction: column;
justify-content: space-around;
gap: 2rem;
height: 100vh;
}
}