69 lines
1.1 KiB
CSS
69 lines
1.1 KiB
CSS
/* Design idea from here https://mo.rijndael.cc/ */
|
|
|
|
body {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin: 0;
|
|
align-items: flex-start;
|
|
padding: 10px;
|
|
background-color: #E6E6FA;
|
|
}
|
|
|
|
header, main, footer {
|
|
margin: 5px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
header, footer {
|
|
flex: 2;
|
|
}
|
|
|
|
main {
|
|
flex: 3;
|
|
}
|
|
|
|
div {
|
|
text-align: left;
|
|
background-color: white;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
|
box-sizing: border-box;
|
|
border: 1px solid;
|
|
width: 100%;
|
|
padding: 0 20px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
border-top: 1px solid;
|
|
border-bottom: 1px solid;
|
|
}
|
|
|
|
pre {
|
|
padding: 10px;
|
|
background: #E6E6FA;
|
|
border: 1px solid #e8e8e8;
|
|
overflow-x: auto;
|
|
white-space: pre;
|
|
word-wrap: normal;
|
|
width: 0;
|
|
min-width: calc(100% - 20px);
|
|
}
|
|
|
|
.count {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.count img {
|
|
height: 75px;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
header, footer, main {
|
|
flex: 1 100%;
|
|
}
|
|
} |