File size: 3,315 Bytes
4588bab |
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 167 168 169 170 171 172 173 174 175 176 |
@import url(https://fonts.googleapis.com/css?family=Anonymous+Pro);
@import url(http://fonts.googleapis.com/earlyaccess/droidarabickufi.css);
body {
margin: 0;
padding: 20px;
background-color: #000; /* Black background */
color: #fff; /* White text color */
}
.container {
max-width: 800px;
margin: 0 auto;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.logo {
height: 40px;
}
h1 {
font-family: 'Anonymous Pro', monospace;
text-align: center;
margin: 0;
color: #cda5a5; /* Gray heading color */
vertical-align:auto; /* Aligns the flag vertically with the text */
}
.flag-icon {
width: 40px; /* Adjust the width as needed */
height: 27px;
vertical-align:text-top; /* Aligns the flag vertically with the text */
padding-top: 2px;
}
#transcription-box {
font-family: 'Droid Arabic Kufi';
position: relative;
height: 600px;
width: 100%;
color: #fff; /* White text color */
position: relative;
margin: 10% auto 0;
background: linear-gradient(0deg, #000, #272727);
margin-bottom: 15px;
border-radius: 23px;
direction: rtl;
text-align: right;
padding: 15px;
line-height: 30px;
font-size: 20px;
}
#transcription-box::before, #transcription-box::after {
content: '';
position: absolute;
left: -5px;
top: -5px;
border-radius: 25px;
background: linear-gradient(45deg,
#ff4545,
#e64949,
#9c4545,
#d85f5f,
#ff9393,
#f5a3a3,
#f3bbbb,
#f5bdbd,
#f52121,
#f5a1a1,
#ff4545,
#f7b2b2,
#f7e0e0);
background-size: 400%;
width: calc(100% + 10px);
height: calc(100% + 10px);
z-index: -1;
animation: anim-moving-glow 20s linear infinite;
}
@keyframes anim-moving-glow {
0% {
background-position: 0 0;
}
50% {
background-position: 400% 0;
}
100% {
background-position: 0 0;
}
}
#transcription-box:after {
filter: blur(10px);
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
color: #000; /* Black text on buttons */
background-color: #beadad; /* White background on buttons */
border: none;
border-radius: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
animation: pulse 2s infinite; /* Adding pulse animation */
}
button:hover {
transform: scale(1.1); /* Slightly enlarges button on hover */
box-shadow: 0 0 10px rgba(255, 0, 0, 0.7); /* Adds glowing effect */
}
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
50% {
transform: scale(1.05);
box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}
100% {
transform: scale(1);
box-shadow: 0 0 10px rgba(255, 0, 0, 0.925);
}
}
#transcription-cursor {
display: inline-block;
width: 1px;
height: 24px;
background-color: #fff; /* White color for the cursor */
animation: blink 1s step-end infinite;
vertical-align: bottom;
}
@keyframes blink {
from, to {
visibility: hidden;
}
50% {
visibility: visible;
}
}
.partial {
color: #888;
font-style: italic;
}
#status {
font-size: 9pt;
margin-left: 10px;
}
.d-none {
display: none;
}
|