style: narrower questions on mobile (#54)
This commit is contained in:
parent
2ef7e05f4b
commit
9e806186b7
6
.prettierrc
Normal file
6
.prettierrc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"trailingComma": "es5",
|
||||||
|
"tabWidth": 4,
|
||||||
|
"semi": false,
|
||||||
|
"singleQuote": true
|
||||||
|
}
|
@ -10,7 +10,7 @@
|
|||||||
--link-color: #92adff;
|
--link-color: #92adff;
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-theme="light"] {
|
[data-theme='light'] {
|
||||||
--main-bg: rgb(219, 219, 219);
|
--main-bg: rgb(219, 219, 219);
|
||||||
--text-color: #000;
|
--text-color: #000;
|
||||||
--muted-text-color: #636363;
|
--muted-text-color: #636363;
|
||||||
@ -26,7 +26,6 @@ a {
|
|||||||
color: var(--link-color);
|
color: var(--link-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
html {
|
html {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -45,7 +44,7 @@ html {
|
|||||||
.icon img {
|
.icon img {
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
padding: .25rem;
|
padding: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
details {
|
details {
|
||||||
|
@ -19,9 +19,17 @@ body {
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.parent {
|
@media (orientation: landscape) {
|
||||||
max-width: 90%;
|
.parent {
|
||||||
width: fit-content;
|
max-width: 50%;
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media (orientation: portrait) {
|
||||||
|
.parent {
|
||||||
|
max-width: 90%;
|
||||||
|
width: fit-content;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
@ -31,7 +39,7 @@ body {
|
|||||||
|
|
||||||
.card-tags {
|
.card-tags {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: .5rem;
|
gap: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-tags .tag {
|
.card-tags .tag {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user