echoip/html/styles.html

182 lines
2.7 KiB
HTML
Raw Normal View History

2020-12-14 19:02:35 +01:00
<style>
2022-04-06 01:30:38 +02:00
.ip,pre {
word-wrap: break-word
}
pre {
font-family: "Monaco","Menlo","Consolas","Courier New",monospace;
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap
}
a {
2020-12-14 19:02:35 +01:00
text-decoration: underline;
2022-04-06 01:30:38 +02:00
color: #000
}
a:hover,active {
background: #d7d7d7
}
.ip {
2020-12-14 19:02:35 +01:00
border: 1px solid #cbcbcb;
background: #f2f2f2;
font-size: 36px;
2022-04-06 01:30:38 +02:00
padding: 6px
}
svg.github-corner {
2020-12-14 19:02:35 +01:00
fill: #151513;
2022-04-06 01:30:38 +02:00
color: #fff
}
.footer {
2020-12-14 19:02:35 +01:00
margin-top: 34px;
2022-04-06 01:30:38 +02:00
border-top: 1px solid #cbcbcb
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.content {
2020-12-14 19:02:35 +01:00
margin-left: auto;
margin-right: auto;
padding-left: 1em;
padding-right: 1em;
2022-04-06 01:30:38 +02:00
max-width: 1024px
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.center {
justify-content: center
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.info-table td,.info-table th {
2020-12-14 19:02:35 +01:00
padding: 5px;
border: 2px solid #ababab;
2022-04-06 01:30:38 +02:00
word-wrap: break-word
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.info-table th[scope=row] {
2020-12-14 19:02:35 +01:00
background-color: #d5d5d5;
2022-04-06 01:30:38 +02:00
text-align: left
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.widgetbox {
2020-12-14 19:02:35 +01:00
width: 100%;
2022-04-06 01:30:38 +02:00
padding: .5rem;
border: 1px solid gray;
font-family: "Courier New",Courier,monospace;
margin-top: .5rem;
box-sizing: border-box
}
.widgetbox.input :first-child::before {
2020-12-14 19:02:35 +01:00
content: "$ ";
2022-04-06 01:30:38 +02:00
white-space: pre
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.widgetbox.output {
2020-12-14 19:02:35 +01:00
min-height: 4em;
white-space: pre;
2022-04-06 01:30:38 +02:00
overflow-x: scroll
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.l-box {
margin: 0 1rem
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.align-right {
text-align: right
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.medium-input {
width: 10em
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
button.selected {
background-color: rgb(208 208 208)
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.input-buttons {
line-height: 2.6em;
2022-04-06 01:30:38 +02:00
font-size: smaller
}
.leafcloud-logo .letters {
fill: #000
}
@media (prefers-color-scheme:dark) {
.pure-g [class*=pure-u],a,html {
background-color: #161719;
color: #d8d9da
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
2020-12-14 19:02:35 +01:00
.ip {
2022-04-06 01:30:38 +02:00
border: 1px solid #313233;
background: #212223
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
2020-12-14 19:02:35 +01:00
.footer {
2022-04-06 01:30:38 +02:00
color: #8e8e8e!important;
border-top: 1px solid #313233
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
a:hover,active {
background: #3d3e3f
2020-12-14 19:02:35 +01:00
}
svg.github-corner {
2022-04-06 01:30:38 +02:00
fill: #f8f9fa;
color: #161719
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
.info-table th[scope=row] {
text-align: left
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
.info-table th[scope=row],.pure-button {
background-color: #2e2e2e;
color: #dcdcdc
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
.pure-button.selected {
2022-04-06 01:30:38 +02:00
background-color: rgb(125 125 125)
2020-12-14 19:02:35 +01:00
}
.pure-input {
2022-04-06 01:30:38 +02:00
background-color: #e6e6e6;
color: #666
2020-12-14 19:02:35 +01:00
}
.pure-input::placeholder {
2022-04-06 01:30:38 +02:00
color: #bbb
2020-12-14 19:02:35 +01:00
}
.leafcloud-logo .letters {
2022-04-06 01:30:38 +02:00
fill: #fff;
max-width: 100%
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
@media (min-width:768px) {
2020-12-14 19:02:35 +01:00
.leafcloud-placement {
2022-04-06 01:30:38 +02:00
text-align: right
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
2020-12-14 19:02:35 +01:00
.leafcloud-logo {
2022-04-06 01:30:38 +02:00
height: 80px;
margin: 2em 0-.5em
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
@media (max-width:768px) {
2020-12-14 19:02:35 +01:00
.leafcloud-logo {
2022-04-06 01:30:38 +02:00
margin-right: 1em
2020-12-14 19:02:35 +01:00
}
2022-04-06 01:30:38 +02:00
}
2020-12-14 19:02:35 +01:00
2022-04-06 01:30:38 +02:00
.debug {
outline: 1px dotted pink
}
2020-12-14 19:02:35 +01:00
</style>