Website-keysign-example/index.scss

118 lines
2.0 KiB
SCSS
Raw Permalink Normal View History

2023-11-24 06:59:09 +00:00
body {
margin: 0;
display: flex;
height: 100vh;
flex-direction: column;
background-color: #20242b;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.page {
width: 1200px;
margin: 0 auto;
padding: 1rem 0;
box-sizing: border-box;
margin-bottom: 1rem;
.disclaimer {
font-size: 18px;
}
.data-area {
width: 100%;
min-height: 10px;
background-color: #0d0f11;
padding: 10px;
box-sizing: border-box;
border-radius: 10px;
margin-bottom: 1rem;
color: white;
.data-title {
font-size: 24px;
margin-bottom: 10px;
}
textarea {
resize: vertical;
width: 100%;
margin: 0;
box-sizing: border-box;
font-family: Verdana, Geneva, Tahoma, sans-serif;
border-radius: 5px;
}
}
.action-area {
display: flex;
flex-direction: row;
margin-bottom: 1rem;
width: 100%;
padding: 5px;
box-sizing: border-box;
background-color: #0d0f11;
border-radius: 10px;
button {
width: 130px;
height: 100%;
margin: auto;
}
}
.result-area {
display: flex;
flex-direction: row;
flex-flow: row wrap;
place-content: space-around;
.result {
min-width: 150px;
max-width: 49%;
flex-grow: 1;
min-height: 100px;
background-color: #0d0f11;
border-radius: 10px;
padding: 5px;
box-sizing: border-box;
color: gray;
margin-bottom: 10px;
word-wrap: anywhere;
.result-title {
font-size: 20px;
text-align: center;
text-decoration: underline;
color: white;
}
}
}
}
@media screen and (max-width: 1210px) {
.page {
width: 95%;
.result-area {
.result {
min-width: initial;
max-width: initial;
width: 45%;
margin: 5px;
}
}
}
}
@media screen and (max-width: 1010px) {
.page {
width: 95%;
.result-area {
.result {
min-width: initial;
max-width: initial;
width: 100%;
}
}
}
}