-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
166 lines (142 loc) · 3.19 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
margin: 20px;
padding: 0;
box-sizing: border-box;
}
header {
background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4ODJy1Q9zMX4wneuaVqzQLCZIX9hyVRLjRBOXwDu9s-9An6IYRRebkSlAsMXmncOKMGrxSgeJbowE1tzGdoNongp_dDAGWt8n_RFGjRW-4_5THIZSb8P-tZ2-4en155NFBGsivJoWNyog/s1600/Kumpulan-Animasi-Bergerak2.gif') repeat; /* URL GIF untuk header */
background-size: cover; /* Menutupi seluruh area header */
width: 100%; /* Lebar penuh */
padding: 10px 0;
text-align: center;
position: fixed; /* Tetap di tempat saat digulir */
top: 0;
left: 0;
z-index: 1000; /* Menempatkan di depan elemen lainnya */
}
.logo-container {
display: inline-block;
}
.logo {
height: 50px;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 80px; /* Memberi ruang untuk header tetap */
}
.column {
margin: 10px;
}
.container {
display: flex;
flex-direction: column;
width: 100%;
max-width: 600px;
align-items: center;
padding: 10px;
}
.column {
width: 100%;
margin: 10px 0;
}
textarea {
width: 100%;
height: 150px;
padding: 10px;
box-sizing: border-box;
}
button {
margin-top: 10px;
padding: 10px 20px;
cursor: pointer;
}
#result {
margin-top: 20px;
display: flex;
align-items: center;
width: 100%;
}
#generatedURL {
width: 70%;
padding: 10px;
margin-right: 10px;
box-sizing: border-box;
}
#displayTexts {
margin-top: 20px;
width: 100%;
max-width: 600px;
word-wrap: break-word;
white-space: pre-wrap; /* To preserve newlines */
display: none;
align-items: center;
}
#marqueeText {
width: 100%;
white-space: nowrap;
overflow: hidden;
box-sizing: border-box;
margin-bottom: 10px;
font-size: 100px;
}
#marqueeText span {
display: inline-block;
padding-left: 100%;
animation: simpleMarquee 15s linear infinite;
}
/* Animasi marquee sederhana */
@keyframes simpleMarquee {
from {
transform: translateX(100%);
}
to {
transform: translateX(-100%);
}
}
#animatedText {
width: 100%;
}
#listenButton {
margin-top: 10px;
}
@keyframes marquee {
from {
transform: translateX(100%);
}
to {
transform: translateX(-100%);
}
}
@media (max-width: 600px) {
.container {
padding: 5px;
}
button {
width: 100%;
margin: 5px 0;
}
#result {
flex-direction: column;
align-items: stretch;
}
#generatedURL {
width: 100%;
margin-bottom: 10px;
}
}
footer {
background: url('https://media4.giphy.com/media/U7huVmA3TKuqvznInJ/giphy.gif?cid=6c09b9526up1f6j1du83mw4uy4y0aweapr9mdsn6qcpq158e&ep=v1_gifs_search&rid=giphy.gif&ct=g') repeat; /* URL GIF */
background-size: cover; /* Menutupi seluruh area footer */
color: #fff; /* Warna teks putih */
text-align: center;
padding: 10px 0;
font-size: 12px; /* Ukuran huruf kecil */
position: relative; /* Posisi relatif agar mengikuti guliran */
width: 100%;
}