Files
mz25key/webserver/css/style.css
2022-09-04 17:05:08 +01:00

254 lines
3.8 KiB
CSS

/*
body {
margin: 0;
}
*/
/*
h1 {
text-align: center;
font-family: Tahoma, Arial, sans-serif;
color: #06D85F;
margin: 10px;
}
*/
.box {
width: 40%;
margin: 0 auto;
background: rgba(255,255,255,0.2);
padding: 35px;
border: 2px solid #fff;
border-radius: 20px/50px;
background-clip: padding-box;
text-align: center;
}
.overlay {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.7);
//transition: opacity 500ms;
visibility: hidden;
opacity: 0;
}
.overlay:target {
visibility: visible;
opacity: 1;
}
.popup {
margin: 70px auto;
padding: 20px;
background: #fff;
border-radius: 5px;
width: 30%;
position: relative;
transition: all 5s ease-in-out;
}
.popup h2 {
margin-top: 0;
color: #333;
font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
position: absolute;
top: 20px;
right: 30px;
transition: all 200ms;
font-size: 30px;
font-weight: bold;
text-decoration: none;
color: #333;
}
.popup .close:hover {
color: #06D85F;
}
.popup .content {
max-height: 30%;
overflow: auto;
}
@media screen and (max-width: 700px){
.box{
width: 90%;
}
.popup{
width: 90%;
}
}
/*
html {
font-family: Arial, Helvetica, sans-serif;
display: inline-block;
text-align: center;
}
h1 {
font-size: 1.8rem;
color: white;
}
p {
font-size: 1.1rem;
}
*/
.topnav {
overflow: hidden;
background-color: #0A1128;
}
.content {
padding: 5%;
}
.card-grid {
max-width: 800px;
margin: 0 auto;
display: grid;
grid-gap: 2rem;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
background-color: lightyellow;
box-shadow: 2px 2px 12px 1px rgba(140,140,140,.5);
}
.card-title {
font-size: 1.1rem;
font-weight: bold;
color: #034078
}
/*
input[type=submit] {
border: none;
color: #FEFCFB;
background-color: #034078;
padding: 15px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 18px;
width: 30%;
margin-right: 10px;
border-radius: 4px;
transition-duration: 0.4s;
}
input[type=submit]:hover {
background-color: #1282A2;
}
input[type=text], input[type=number], select {
width: 40%;
padding: 8px 10px;
margin: 12px;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=url], input[type=number], select {
width: 50%;
padding: 12px 20px;
margin: 18px;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
label {
font-size: 1rem;
}
*/
.value{
font-size: 1rem;
color: #1282A2;
}
.state {
font-size: 1rem;
color: #1282A2;
}
.button {
font-size: 2em;
padding: 3px;
color: #dbd75e;
border: 1px solid #000;
border-radius: 5px;
text-decoration: none;
cursor: pointer;
transition: all 1s ease-out;
background: #1b06d8;
}
.button:hover {
background: #06D85F;
}
/*
button {
//border: none;
// color: #FEFCFB;
// padding: 15px 32px;
// text-align: center;
// font-size: 30px;
// width: 100px;
// border-radius: 4px;
transition-duration: 0.4s;
}
.button-on {
// background-color: #034078;
}
.button-on:hover {
// background-color: #1282A2;
}
.button-off {
// background-color: #858585;
}
.button-off:hover {
// background-color: #252524;
}
*/
#sk-modules-table {
border: solid thin;
border-collapse: collapse;
}
#sk-modules-table caption {
padding-bottom: 0.5em;
}
#sk-modules-table th,
#sk-modules-table td {
border: solid thin;
padding: 0.5rem 2rem;
}
#sk-modules-table td {
white-space: nowrap;
}
#sk-modules-table th {
font-weight: normal;
}
#sk-modules-table td {
border-style: none solid;
vertical-align: top;
}
#sk-modules-table th {
padding: 0.2em;
vertical-align: middle;
text-align: center;
}
#sk-modules-table tbody td:first-child::after {
content: leader(". ");
}