* { margin: 0; padding: 0; list-style: none; text-decoration: none; cursor: pointer; font-family: "Roboto Slab", serif; outline: none; } html { height: 100vh; width: 100%; padding: 0; margin: 0; } body { height: 100%; width: 100%; box-sizing: border-box; background: rgb(0, 0, 0); overflow: hidden; } textarea { width: 100%; height: 100%; } #Copyright { color: #f9ffff; height: 0.2%; text-align: center; } /*-------------------- Main Frame --------------------*/ .area { box-sizing: border-box; height: 100%; width: 100%; padding: 2%; resize: none; display: flex; flex-flow: column; background-image: linear-gradient(-225deg, #ecf6ff 0%, #bddeff 100%); } .t-area { box-sizing: border-box; height: 60%; width: 100%; resize: none; display: flex; flex-flow: column; background: rgba(0, 0, 0, 0); } /*-------------------- Text Box --------------------*/ .mybox1 { box-sizing: border-box; height: 30%; background-image: linear-gradient( to top, #d2d1ff 0%, #e6e6fa 1%, #d2d1ff 100% ); /* 背景色 */ border-radius: 5px; margin: 10px 0px; /* 外側の余白 上下・左右 */ padding: 30px 20px 20px 20px; /* 内側の余白 上・右・下・左 */ position: relative; z-index: 0; overflow: auto; } .mybox1:before { border: 1px solid #fff; /* 白い実線 */ border-radius: 5px; content: ""; display: block; margin: 4px; position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; z-index: -1; } .mybox2 { box-sizing: border-box; height: 40%; background-image: linear-gradient( to top, #d2d1ff 0%, #e6e6fa 1%, #d2d1ff 100% ); /* 背景色 */ border-radius: 5px; margin: 10px 0px; /* 外側の余白 上下・左右 */ padding: 30px 20px 20px 20px; /* 内側の余白 上・右・下・左 */ position: relative; z-index: 0; overflow: auto; } .mybox2:before { border: 1px solid #fff; /* 白い実線 */ border-radius: 5px; content: ""; display: block; margin: 4px; position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; z-index: -1; } .mybox3 { box-sizing: border-box; height: 30%; background-image: linear-gradient( to top, #d2d1ff 0%, #e6e6fa 1%, #d2d1ff 100% ); /* 背景色 */ border-radius: 5px; margin: 10px 0px; /* 外側の余白 上下・左右 */ padding: 30px 20px 20px 20px; /* 内側の余白 上・右・下・左 */ position: relative; z-index: 0; display: flex; overflow: auto; } .mybox3:before { border: 1px solid #fff; /* 白い実線 */ border-radius: 5px; content: ""; display: block; margin: 4px; position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; z-index: -1; } #result1_text { box-sizing: border-box; text-align: center; height: 100%; width: 100%; resize: none; color: rgb(135, 84, 230); background: rgba(0, 0, 0, 0); word-wrap: break-word; font-size: calc(100vmin / 32); -webkit-text-stroke: 1px rgba(0, 0, 0, 0); } #result1_text::-webkit-scrollbar { display: none; } #result2_text { box-sizing: border-box; text-align: center; height: 100%; width: 100%; resize: none; color: rgb(135, 84, 230); background: rgba(0, 0, 0, 0); word-wrap: break-word; font-size: calc(100vmin / 32); -webkit-text-stroke: 1px rgba(0, 0, 0, 0); } #result2_text::-webkit-scrollbar { display: none; } #result3_text { box-sizing: border-box; text-align: center; height: 100%; width: 100%; resize: none; color: rgb(135, 84, 230); background: rgba(0, 0, 0, 0); word-wrap: break-word; font-size: calc(50vmin / 34); -webkit-text-stroke: 1px rgba(0, 0, 0, 0); } /*-------------------- API_Key/Microphone Recognition Frame --------------------*/ .b-area { box-sizing: border-box; height: 10%; width: 100%; resize: none; display: flex; background: rgba(0, 0, 0, 0); } /*-------------------- area box --------------------*/ .b-area0 { box-sizing: border-box; height: 100%; width: 25%; resize: none; display: flex; flex-flow: column; background: rgba(0, 0, 0, 0); } /*-------------------- microphone recognition --------------------*/ #micon { height: 60%; width: 100%; text-align: center; color: rgb(255, 102, 235); background: rgb(170, 225, 243); border: solid 5px rgb(187, 214, 236); border-radius: 100px; font-size: 2vh; overflow: hidden; } /*-------------------- Google_Apps_API_Key --------------------*/ #google-Apps-API-key { box-sizing: border-box; width: 95%; color: rgba(96, 9, 240, 0.5); background: rgb(170, 225, 243); text-align: center; margin-left: 3%; } /*-------------------- 空白 --------------------*/ .Phantom { box-sizing: border-box; height: 10%; width: 100%; resize: none; -webkit-user-drag: none; } /*-------------------- speed of voice --------------------*/ #sov1 { box-sizing: border-box; width: 98%; color: rgb(135, 84, 230); background: #edd8f0; text-align: justify; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; border: solid 1px #ffffff; } #sov2 { box-sizing: border-box; width: 98%; color: rgb(135, 84, 230); background: #edd8f0; text-align: justify; display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; border: solid 1px #ffffff; } input[type="range"] { box-sizing: border-box; -webkit-appearance: none; /* これ無しだとスタイルがほぼ全く反映されないので注意 */ appearance: none; height: 14px; /* バーの高さ */ width: 98%; /* バーの幅 */ background: #d3bbff; /* バーの背景色 */ border-radius: 0px; /* バーの両端の丸み */ border: solid 1px #ffffff; /* バー周囲の線 */ } /* WebKit向けのつまみ */ input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; /* デフォルトのつまみのスタイルを解除 */ background: #bfbbff; /* 背景色 */ width: 20px; /* 幅 */ height: 20px; /* 高さ */ border-radius: 0%; /* 円形に */ box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15); /* 影 */ } /* つまみをドラッグしているときのスタイル */ input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0px 5px 10px -2px rgba(0, 0, 0, 0.6); } /*-------------------- Select Area --------------------*/ .b-area1 { box-sizing: border-box; height: 15%; width: 100%; resize: none; display: flex; background: rgba(0, 0, 0, 0); } /*-------------------- Start/Stop Button Area --------------------*/ .b-area2 { box-sizing: border-box; height: 20%; width: 100%; resize: none; display: flex; background: rgba(0, 0, 0, 0); } /*-------------------- Box --------------------*/ .box { box-sizing: border-box; width: 100%; resize: none; } /*-------------------- In The Box --------------------*/ .bg-btn { box-sizing: border-box; height: 100%; background: rgba(0, 0, 0, 0); display: flex; justify-content: flex-start; -webkit-user-drag: none; } /*-------------------- Microphone ON --------------------*/ .bg-start { box-sizing: border-box; height: 100%; background: rgba(0, 0, 0, 0); display: flex; justify-content: flex-start; -webkit-user-drag: none; } /*-------------------- Button --------------------*/ .custom-btn { height: 90%; width: 100%; color: rgb(255, 255, 255); font-family: "Lato", sans-serif; background: rgb(255, 255, 255); cursor: pointer; transition: all 0.3s ease; position: relative; display: inline-block; box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), inset -7px -7px 10px 0px rgba(0, 0, 0, 0.1), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1); text-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5), -4px -4px 6px rgba(116, 125, 136, 0.2); outline: none; } .custom-btn::-webkit-scrollbar { width: 20px; } .custom-btn::-webkit-scrollbar-track { background: rgb(218, 246, 255); } .custom-btn::-webkit-scrollbar-thumb { border: 6px solid rgb(124, 222, 255); border-left: 0; border-right: 0; background: rgb(170, 225, 243); } .custom-btn option:checked { color: #7f00ff; } .custom-btn option { background: rgb(221, 238, 255); } .custom-btn optgroup { color: #f9ffff; background: rgb(170, 187, 238); } .play-hts { width: 98%; height: 60%; box-sizing: border-box; text-align: center; background-image: linear-gradient( -225deg, #aad4ff 0%, #aad4ff 48%, #aad4ff 100% ); color: rgba(96, 9, 240, 0.5); border: none; border-radius: 60px; font-size: 20px; } .play-hts:before { height: 0%; width: 2px; } .play-hts:hover { box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.5), -4px -4px 6px 0 rgba(116, 125, 136, 0.5), inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2), inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2); } .play-voice { width: 98%; height: 60%; box-sizing: border-box; text-align: center; background-image: linear-gradient( -225deg, #aad4ff 0%, #aad4ff 48%, #aad4ff 100% ); color: rgba(96, 9, 240, 0.5); border: none; border-radius: 60px; font-size: 20px; } .play-voice:before { height: 0%; width: 2px; } .play-voice:hover { box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.5), -4px -4px 6px 0 rgba(116, 125, 136, 0.5), inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2), inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2); } .play-btns { width: 100%; height: 90%; box-sizing: border-box; text-align: center; background-image: linear-gradient( -225deg, #aad4ff 0%, #aad4ff 48%, #aad4ff 100% ); color: rgba(96, 9, 240, 0.5); border: none; border-radius: 60px; font-size: 20px; } .play-btns:before { height: 0%; width: 2px; } .play-btns:hover { box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.5), -4px -4px 6px 0 rgba(116, 125, 136, 0.5), inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2), inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2); } .btn-1 { box-sizing: border-box; text-align: center; background-image: linear-gradient(to top, #aad4ff 0%, #d3e9f9 100%); color: rgba(96, 9, 240, 0.5); border: none; border-radius: 30px; font-size: 20px; } .btn-1:before { height: 0%; width: 2px; } .btn-1:hover { box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.5), -4px -4px 6px 0 rgba(116, 125, 136, 0.5), inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2), inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2); } .btn-2 { box-sizing: border-box; text-align: center; background-image: linear-gradient( -225deg, #aad4ff 0%, #aad4ff 48%, #aad4ff 100% ); color: rgba(96, 9, 240, 0.5); border: none; border-radius: 30px; font-size: 20px; } .btn-2:before { height: 0%; width: 2px; } .btn-2:hover { box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.5), -4px -4px 6px 0 rgba(116, 125, 136, 0.5), inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2), inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2); } #trbt1 { display: none; } #trbt2 { display: none; } #trbt3 { display: none; }