-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
128 lines (108 loc) · 2.07 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
122
123
124
125
126
127
.title {
margin: 0 auto;
text-align: center;
margin-bottom: 2px;
}
body {
display: flex;
justify-content: center;
align-items: center;
}
* {
background-color: #FFEFCB;
font-family: monospace;
}
.container {
display: flex;
text-align: left;
flex-direction: column;
position: relative;
width: 100%;
max-width: 800px;
}
.date-display {
font-size: 0.8em;
opacity: 0.8;
text-align: center;
margin-top: 30px;
margin-bottom: 20px;
}
.title-container {
text-align: center;
margin-bottom: 20px;
display: flex;
flex-direction: column;
align-items: center;
}
.subtitle {
opacity: 0;
transition: opacity 0.3s ease;
margin: 0;
font-size: 0.8em;
text-align: center;
}
.title-container:hover .subtitle {
opacity: 0.8;
}
p {
max-width: 600px;
text-align: justify;
}
.video-container {
text-align: center;
width: 100%;
max-width: 800px;
margin: 20px auto;
}
.video-container video {
max-width: 100%;
height: auto;
}
.image-container {
position: relative;
text-align: center;
margin: 16px auto;
}
.image-caption {
opacity: 0;
transition: opacity 0.3s ease;
font-size: 0.8em;
margin: 5px 0 0 0;
text-align: center;
}
.image-container:hover .image-caption {
opacity: 0.8;
}
img {
display: block;
height: 350px;
width: auto;
margin: 0 auto;
}
.dropdown-header {
cursor: pointer;
user-select: none;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 25px;
margin-bottom: 10px;
}
.dropdown-icon {
font-size: 0.8em;
transition: transform 0.3s ease;
}
.dropdown-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease, opacity 0.3s ease;
opacity: 0;
}
.dropdown-content.active {
max-height: 1000px; /* Adjust based on content size */
opacity: 1;
transition: max-height 0.5s ease, opacity 0.3s ease 0.2s;
}
.dropdown-header.active .dropdown-icon {
transform: rotate(180deg);
}