Ora il db funge più veramente e si possono inviare i problemi
This commit is contained in:
+62
-10
@@ -69,17 +69,17 @@ button {
|
||||
border: 1px solid #c8c8c8;
|
||||
padding: 0.5rem 2rem;
|
||||
|
||||
box-shadow: -2px 4px 16px 0 #00000010, -2px 4px 4px 0 #00000010;
|
||||
box-shadow: -2px 2px 16px 0 #00000010;
|
||||
border-radius: 0.25rem;
|
||||
|
||||
background: linear-gradient(180deg, #f0f0f0, #dfdfdf 20%, #d8d8d8 80%, #c0c0c0);
|
||||
background: linear-gradient(180deg, #f0f0f0, #e8e8e8 20%, #e0e0e0 90%, #cdcdcd);
|
||||
|
||||
transition: all 100ms ease-in;
|
||||
|
||||
&:hover {
|
||||
border: 1px solid #c4c4c4;
|
||||
box-shadow: -2px 4px 20px 4px #00000010, -2px 4px 6px 2px #00000010;
|
||||
background: linear-gradient(180deg, #f8f8f8, #e4e4e4 20%, #e4e4e4 80%, #c8c8c8);
|
||||
box-shadow: -2px 2px 20px 0 #00000010;
|
||||
background: linear-gradient(180deg, #fff, #ededed 20%, #e8e8e8 90%, #c0c0c0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,10 +193,28 @@ main {
|
||||
main.home {
|
||||
.board {
|
||||
width: 100%;
|
||||
// min-width: 0;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(60ch, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(auto, 70ch));
|
||||
gap: 2rem;
|
||||
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
main.problem {
|
||||
summary {
|
||||
padding: 1rem;
|
||||
text-align: center;
|
||||
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.solution-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -207,7 +225,8 @@ main.home {
|
||||
main {
|
||||
.problem {
|
||||
padding: 1rem;
|
||||
// border: 1px solid #ddd;
|
||||
|
||||
max-width: 80ch;
|
||||
|
||||
box-shadow: -2px 4px 8px 1px #00000020, -1px 1px 1px 0px #00000010;
|
||||
border-radius: 0.5rem;
|
||||
@@ -217,16 +236,23 @@ main {
|
||||
grid-template-rows: auto 1fr;
|
||||
gap: 0.5rem;
|
||||
|
||||
max-width: 80ch;
|
||||
|
||||
.problem-header {
|
||||
display: grid;
|
||||
grid-template-columns: auto;
|
||||
gap: 0.25rem;
|
||||
|
||||
.problem-title {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.problem-author {
|
||||
grid-row: 2;
|
||||
|
||||
font-size: 16px;
|
||||
color: #000000dd;
|
||||
// font-weight: 400;
|
||||
}
|
||||
}
|
||||
|
||||
.problem-content {
|
||||
@@ -234,6 +260,30 @@ main {
|
||||
}
|
||||
}
|
||||
|
||||
.solution {
|
||||
padding: 1rem;
|
||||
|
||||
max-width: 80ch;
|
||||
|
||||
box-shadow: -2px 4px 8px 1px #00000020, -1px 1px 1px 0px #00000010;
|
||||
border-radius: 0.5rem;
|
||||
background: #ffffff;
|
||||
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
gap: 0.5rem;
|
||||
|
||||
.solution-header {
|
||||
display: grid;
|
||||
grid-template-columns: auto;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
.solution-content {
|
||||
@extend .text-body;
|
||||
}
|
||||
}
|
||||
|
||||
.solution-editor {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
@@ -291,13 +341,15 @@ main {
|
||||
.form {
|
||||
min-width: 50ch;
|
||||
|
||||
background: #e0e0e0;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr;
|
||||
|
||||
// border: 2px solid #ccc;
|
||||
border: 1px solid #c0c0c0;
|
||||
border-radius: 1rem;
|
||||
|
||||
box-shadow: -2px 4px 16px 4px #00000018, -2px 4px 4px 1px #00000018;
|
||||
// box-shadow: -2px 4px 16px 4px #00000018, -2px 4px 4px 1px #00000018;
|
||||
|
||||
padding: 1.5rem 2rem 1rem;
|
||||
gap: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user