Spaces:
Running
Running
Download style.css from thesuryash/ASCII-GLB-Viewer: direct link, hf CLI and curl.
- Browser
- Download file 7.68 kB
-
https://huggingface.co/spaces/thesuryash/ASCII-GLB-Viewer/resolve/main/style.css
- Command line
-
hf download hf://spaces/thesuryash/ASCII-GLB-Viewer/style.css
-
curl -L -o style.css https://huggingface.co/spaces/thesuryash/ASCII-GLB-Viewer/resolve/main/style.css
7.68 kB
| html, body{ | |
| font-size: 16px; | |
| font-family: Helvetica; | |
| /*max-width: 100%; | |
| overflow-x: hidden;*/ | |
| margin: 0; | |
| padding: 0; | |
| position: absolute; | |
| background-color: #151632; | |
| } | |
| #gui { | |
| position: absolute; | |
| top: 0; | |
| right: 0; | |
| background-color: black; | |
| opacity: 0.9; | |
| margin: 0; | |
| z-index: 10; | |
| float: right; | |
| margin-right: 0 ; | |
| } | |
| .dg { | |
| margin: 0 ; | |
| } | |
| .closed{ | |
| height: 0px; | |
| margin-right: 0 ; | |
| } | |
| .close-button { | |
| font-size: 1.2em; | |
| font-weight: bold; | |
| background-color: rgb(9, 81, 99) ; | |
| } | |
| #canvasSizeTextBox { | |
| left: 88vw; | |
| position: fixed; | |
| top: 2px; | |
| color: rgb(209, 209, 209); | |
| font-size: 0.7em; | |
| opacity: 0.7; | |
| font-style: italic; | |
| text-align: left; | |
| } | |
| #introDiv{ | |
| width: 100vw; | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| background-color: #2D0A3D; | |
| padding-top: 2px; | |
| padding-bottom: 10px; | |
| text-align: center; | |
| color:white; | |
| } | |
| #siteNameText{ | |
| font-size: 42px; | |
| font-family: "Permanent Marker"; | |
| font-weight: 400; | |
| font-style: normal; | |
| display:block; | |
| } | |
| #subtitleText{ | |
| font-size: 24px; | |
| font-family: "Permanent Marker"; | |
| font-weight: 400; | |
| font-style: normal; | |
| font-style: italic; | |
| margin:0 auto; | |
| } | |
| #aboutText{ | |
| font-size: 32px; | |
| font-family: "Permanent Marker"; | |
| font-weight: 400; | |
| font-style: normal; | |
| display:block; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| #toolDiv{ | |
| width:100vw; | |
| box-sizing: border-box; | |
| /*overflow: hidden;*/ | |
| background-color: white; | |
| text-align: center; | |
| justify-content: center; | |
| background-color: #151632; | |
| } | |
| #notesDiv{ | |
| width:100vw; | |
| box-sizing: border-box; | |
| /*overflow: hidden;*/ | |
| padding: 10px; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| /*border-top: 5px solid #581845;*/ | |
| background-color: #151632; | |
| color: white; | |
| } | |
| #textBox { | |
| min-width: 350px; | |
| max-width: 75vw; | |
| } | |
| li { | |
| margin-bottom: 6px; | |
| } | |
| #linksDiv{ | |
| background-color: #faebf6; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| width: 100vw; | |
| } | |
| h2 { | |
| font-size: 40px; | |
| font-family: Helvetica; | |
| } | |
| #canvasDiv { | |
| /*display:flex;*/ | |
| display:block; | |
| margin-top: 3.5vh; | |
| margin: 0 auto; | |
| max-width: 1080px; | |
| } | |
| #canvas { | |
| /*margin: 0 auto; | |
| padding: 0; | |
| */ | |
| } | |
| #buttonDiv { | |
| display: inline block; | |
| margin: 0 auto; | |
| } | |
| .displayCanvas { | |
| float: left; | |
| } | |
| .exampleImage { | |
| max-width: 70vw; | |
| margin: 0 auto; | |
| padding: 0; | |
| display: block; | |
| } | |
| :-ms-input-placeholder { /* Internet Explorer 10-11 */ | |
| color: rgb(194, 194, 194); | |
| font-weight: normal; | |
| } | |
| ::-ms-input-placeholder { /* Microsoft Edge */ | |
| color: rgb(194, 194, 194); | |
| font-weight: normal; | |
| } | |
| input.input-number-noSpinners { | |
| -moz-appearance: textfield; | |
| border:1px solid rgb(180, 180, 180); | |
| padding: 6px; | |
| text-align: center; | |
| max-width: 25vw; | |
| } | |
| input.input-number-noSpinners::-webkit-inner-spin-button, | |
| input.input-number-noSpinners::-webkit-outer-spin-button { | |
| -webkit-appearance: none; | |
| margin: 0; | |
| border:1px solid rgb(180, 180, 180); | |
| padding: 4px 0 4px 0; | |
| } | |
| input:hover{ | |
| background-color: rgb(246, 252, 255); | |
| border:1px solid rgb(146, 146, 146); | |
| } | |
| .select-style { | |
| border-bottom: 2px solid #00b7ff; | |
| border-left:none; | |
| border-top:none; | |
| border-right:none; | |
| border-radius:0; | |
| overflow: hidden; | |
| font-weight:bold; | |
| padding:1px; | |
| /* | |
| //-moz-appearance:none; | |
| -webkit-appearance:none; | |
| appearance:none; | |
| */ | |
| text-align:center; | |
| font-family: Helvetica, sans-serif; | |
| font-size:0.95em; | |
| outline: none; | |
| } | |
| #paletteChoice{ | |
| border-bottom: 2px solid #d400ff ; | |
| } | |
| .select-style select:focus { | |
| outline: none; | |
| } | |
| .hidden { | |
| display: none ; | |
| } | |
| /* Styling for image upload field */ | |
| input, select { | |
| cursor: pointer; | |
| } | |
| input[type="file"] { | |
| /*display: none;*/ | |
| position:absolute; | |
| top:-9999px; | |
| } | |
| .custom-file-upload { | |
| border: 1px solid #ccc; | |
| border-radius: 6px; | |
| background-color: #226f63; | |
| color: #fff; | |
| font-weight: bold; | |
| font-size: 1em; | |
| font-family: Helvetica; | |
| display: inline-block; | |
| padding: 8px; | |
| cursor: pointer; | |
| margin-left: 3px; | |
| margin-right: 2px; | |
| } | |
| /* Styling for color inputs */ | |
| input[type="color"] { | |
| border: none; | |
| background-color: none; | |
| padding:0; | |
| margin: 0px; | |
| } | |
| input[type="checkbox"] { | |
| min-width: 20px; | |
| min-height: 20px; | |
| } | |
| #effectWidthDiv { | |
| margin-top: 2vh; | |
| margin-right: 0; | |
| margin-left: 0; | |
| padding: 0; | |
| } | |
| #effectWidthInput { | |
| width: 100% ; | |
| min-width: 100% ; | |
| padding: 0; | |
| margin: 0; | |
| } | |
| button { | |
| padding: 6px; | |
| font-weight: bold; | |
| font-size: 1em; | |
| margin: 10px 3px 10px 3px; | |
| /*margin-left: 3px; | |
| margin-right: 3px;*/ | |
| border: 3px solid #79e2d2; | |
| border-radius: 6px; | |
| background-color: #ffffff; | |
| cursor: pointer; | |
| } | |
| .recordButton{ | |
| border: 3px solid #4a2bb0; | |
| background-color: #4a2bb0; | |
| color: white; | |
| } | |
| .recordButtonStop{ | |
| border: 3px solid #b02b9c; | |
| background-color: #b02b9c; | |
| color: white; | |
| } | |
| .tableText{ | |
| font-weight: bold; | |
| font-size: 0.7em; | |
| font-family: Helvetica; | |
| color:white; | |
| } | |
| pre { | |
| margin: 0; | |
| } | |
| /* applies when screen is wide enough */ | |
| @media (min-width: 700px) { | |
| button, .tableText { | |
| font-size: 1em; | |
| } | |
| } | |
| table { | |
| border-collapse: collapse; | |
| margin:auto; | |
| } | |
| td { | |
| max-width: 250px; | |
| } | |
| #inputTable{ | |
| font-size:0.8em; | |
| text-align: center; | |
| /*min-width: 280px; | |
| width:80vw; | |
| max-width: 350px; | |
| margin-top: 15px; | |
| margin-bottom: 15px; | |
| border-top: 1px solid black; | |
| border-bottom: 1px solid black; | |
| */ | |
| width:100vw; | |
| /*background-color: rgb(228, 218, 255);*/ | |
| background-color: #2D0A3D; | |
| } | |
| #textInput{ | |
| width: 85vw ; | |
| border: 4px solid rgb(161, 50, 154); | |
| font-size: 1.1em; | |
| margin-top: 5px; | |
| margin-bottom: 5px; | |
| text-align: left; | |
| } | |
| /* applies when screen is wide enough */ | |
| @media (min-width: 700px) { | |
| #inputTable { | |
| font-size:1.0em; | |
| /*max-width: 700px;*/ | |
| } | |
| } | |
| #videoRecordingMessageDiv{ | |
| background: rgba(0, 0, 0, 0.75); | |
| color:white; | |
| font-family: helvetica; | |
| font-size: 20px; | |
| font-weight: bold; | |
| padding: 8px; | |
| } | |
| .sticky-bottom { | |
| position: fixed; | |
| bottom: 0; | |
| left: 0; | |
| width: 100%; | |
| } | |
| #secondsLeft { | |
| font-size: 1.2em; | |
| color: #b02b9c; | |
| } | |
| /*floating loading screen*/ | |
| .lockOn { | |
| display: block; | |
| visibility: visible; | |
| position: fixed; | |
| z-index: 999; | |
| top: 0px; | |
| left: 0px; | |
| width: 100vw; | |
| height: 100vh; | |
| background-color: rgba(255, 255, 255, 0.25); | |
| padding-top: 0%; | |
| opacity: 0.9; | |
| font-size:large; | |
| color:blue; | |
| font-style:italic; | |
| font-weight:400; | |
| background-image: url(https://github.com/imageMageAge/imageMageAge.github.io/blob/main/images/loadingCircle.gif?raw=true); | |
| background-repeat: no-repeat; | |
| background-attachment: fixed; | |
| background-position: center; | |
| } | |
| /* Styling for table with github and social links */ | |
| #infoMenuTable td { | |
| text-align:center; | |
| border: 0; | |
| padding: 20px; | |
| } | |
| #infoMenuTable{ | |
| table-layout: fixed; | |
| margin: 0px; | |
| } | |
| a, a:visited{ | |
| color:rgb(161, 50, 154); | |
| } | |
| .socialMediaButton{ | |
| color:rgb(161, 50, 154); | |
| font-size: 26px; | |
| margin: 0; | |
| padding: 4px; | |
| border: none; | |
| max-width: 50px; | |
| max-height: 50px; | |
| background-color: transparent; | |
| } | |
| #buyMeACoffeeButton { | |
| font-size: 10px; | |
| } | |
| .x-link { | |
| text-decoration: none; | |
| } | |