Start using new HTML5/CSS code.
This commit is contained in:
parent
6808d61199
commit
cb4688d7a6
23 changed files with 650 additions and 616 deletions
271
html/light.css
271
html/light.css
|
|
@ -1,126 +1,235 @@
|
|||
body{
|
||||
text-align: center;
|
||||
a:link {
|
||||
color: #2c199c;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.ip{
|
||||
color: #000000 !important;
|
||||
a:visited {
|
||||
color: #943cc3;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.meterText:empty:before{
|
||||
color: #070707 !important;
|
||||
content: "0.00";
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
div.meterText{
|
||||
position: absolute;
|
||||
bottom: 1.5em;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
font-size: 2.5em;
|
||||
z-index: 9;
|
||||
body {
|
||||
background-color: #ffffff;
|
||||
background-image: url("/circuit-light.png");
|
||||
color: #000000;
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
div.testArea{
|
||||
display: inline-block;
|
||||
width: 20em;
|
||||
height: 9em;
|
||||
position: relative;
|
||||
box-sizing: border-box;
|
||||
hr {
|
||||
background-color: #070707;
|
||||
border: 0;
|
||||
color: #070707;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
div.progressText{
|
||||
margin-bottom: 2px;
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
||||
.bold {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.testGroup{
|
||||
display: inline-block;
|
||||
.box {
|
||||
background: #f0f0f0;
|
||||
border: 2px solid #070707;
|
||||
box-shadow: 10px 10px 10px -5px rgba(0,0,0,0.5);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
div.testName{
|
||||
position: absolute;
|
||||
top: 0.1em;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
font-size: 1.4em;
|
||||
color: #000000 !important;
|
||||
z-index:9;
|
||||
.boxmargins {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
div.unit{
|
||||
position: absolute;
|
||||
bottom: 2em;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
color: #000000 !important;
|
||||
z-index:9;
|
||||
.boxpadding {
|
||||
padding-bottom: 10px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
html,body{
|
||||
border: none;
|
||||
padding: 0;
|
||||
.donatebutton {
|
||||
margin-left: 100px;
|
||||
margin-right: 100px;
|
||||
}
|
||||
|
||||
#dlText{
|
||||
color: #2c199c;
|
||||
.heading {
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
#pingText,#jitText{
|
||||
color: #2c199c;
|
||||
.metertext {
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
#progress{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 0%;
|
||||
transition: width 2s;
|
||||
background-color: #2c199c;
|
||||
.metertext:empty:before {
|
||||
content: "0.00";
|
||||
}
|
||||
|
||||
#progressBar{
|
||||
width: 60%;
|
||||
height: 0.3em;
|
||||
background-color: #f0f0f0;
|
||||
position: relative;
|
||||
.notice {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
border: 2px solid #000000;
|
||||
margin-left: auto;
|
||||
margin-bottom: 25px;
|
||||
margin-right: auto;
|
||||
text-align: center;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
#startStopBtn{
|
||||
display: inline-block;
|
||||
margin: 0 auto;
|
||||
color: #2c199c;
|
||||
.sponsor {
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.subheading {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
|
||||
#copyright {
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#donatebuttons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
#headingbox {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
#headingtext {
|
||||
margin-bottom: 5px;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#ipinfo {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#logo {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#page {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
#progress {
|
||||
background-color: #2c199c;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
transition: width 2s;
|
||||
width: 0%;
|
||||
}
|
||||
|
||||
#progressbar {
|
||||
background-color: #f0f0f0;
|
||||
border: 2px solid #070707;
|
||||
height: 8px;
|
||||
margin-bottom: 5px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
position: relative;
|
||||
width: 600px;
|
||||
}
|
||||
|
||||
#progresstext {
|
||||
margin-bottom: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#startstopbutton {
|
||||
#margin: 0 auto;
|
||||
background-color: #f0f0f0;
|
||||
border: 2px solid #2c199c;
|
||||
/* border-radius: 0.3em; */
|
||||
transition: all 0.3s;
|
||||
box-sizing: border-box;
|
||||
width: 8em;
|
||||
height: 3em;
|
||||
margin-bottom: 2em;
|
||||
line-height: 2.7em;
|
||||
color: #2c199c;
|
||||
cursor: pointer;
|
||||
/* box-shadow: 0 0 0 rgba(0,0,0,0.1), inset 0 0 0 rgba(0,0,0,0.1); */
|
||||
height: 40px;
|
||||
line-height: 36px;
|
||||
transition: all 0.3s;
|
||||
width: 150px;
|
||||
margin-bottom: 30px;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#startStopBtn:before{
|
||||
content: "Start";
|
||||
#startstopbutton:before {
|
||||
content: "Start Test";
|
||||
}
|
||||
|
||||
#startStopBtn.running{
|
||||
#startstopbutton.running {
|
||||
background-color:#2c199c;
|
||||
border-color:#000000;
|
||||
color:#ffffff;
|
||||
border-color:#070707;
|
||||
color:#f0f0f0;
|
||||
}
|
||||
|
||||
#startStopBtn.running:before{
|
||||
#startstopbutton.running:before {
|
||||
content: "Abort";
|
||||
}
|
||||
|
||||
#test{
|
||||
margin-top: 2em;
|
||||
margin-bottom: 2em;
|
||||
#testbox {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding-left: 75px;
|
||||
padding-right: 75px;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
#tests {
|
||||
column-gap: 150px;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto;
|
||||
justify-content: center;
|
||||
margin-bottom: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#theme {
|
||||
column-gap: 50px;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto auto;
|
||||
}
|
||||
|
||||
#themetoggle {
|
||||
align-self: end;
|
||||
display: flex;
|
||||
height: 25px;
|
||||
margin-left: auto;
|
||||
margin-right: 0;
|
||||
max-height: 25px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#themetoggleimg {
|
||||
height: 15px;
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#themetoggletext {
|
||||
align-content: center;
|
||||
color: #070707;
|
||||
font-size: 15px;
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue