Initial commit!
This commit is contained in:
84
static/css/index.scss
Normal file
84
static/css/index.scss
Normal file
@@ -0,0 +1,84 @@
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||
background-color: #fdf6e3;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
|
||||
@media (min-width: 576px) {
|
||||
width: 540px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
width: 720px;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
width: 960px;
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
width: 1140px;
|
||||
}
|
||||
|
||||
@media (min-width: 1400px) {
|
||||
width: 1320px;
|
||||
}
|
||||
}
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 2rem;
|
||||
gap: 2rem;
|
||||
padding: 3rem 1rem;
|
||||
margin-bottom: 3rem;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
||||
flex-wrap: wrap;
|
||||
|
||||
div:has(img) {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 80%;
|
||||
max-width: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
margin-bottom: 5rem;
|
||||
|
||||
#examples-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1rem;
|
||||
margin-bottom: 2rem;
|
||||
|
||||
p > strong {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
details {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
hr {
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user