Fixed mobile (mostly, just need to do navbar)
This commit is contained in:
parent
83f39c615c
commit
cbbe23890a
4 changed files with 17 additions and 9 deletions
|
@ -8,7 +8,7 @@ export default Object.entries({
|
||||||
linux: {
|
linux: {
|
||||||
title: "Linux",
|
title: "Linux",
|
||||||
description:
|
description:
|
||||||
"Linux is an operating system that has existed since the 1990s, and is used extensively, from Android in your phones which is linux-based to the over 40% of websites running on linux."
|
"Linux is an operating system that has existed since the 1990s, and is used extensively, from Android in your phones (which is linux-based), to the over 40% of websites running on linux."
|
||||||
},
|
},
|
||||||
web: { title: "Web Development", description: "Web Development" },
|
web: { title: "Web Development", description: "Web Development" },
|
||||||
bot: {
|
bot: {
|
||||||
|
|
|
@ -60,6 +60,18 @@
|
||||||
|
|
||||||
.categories {
|
.categories {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.1rem;
|
gap: 0.2rem;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 750px) {
|
||||||
|
.sidebar {
|
||||||
|
position: static;
|
||||||
|
width: 100%;
|
||||||
|
height: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
.container {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
padding-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
|
|
@ -2,13 +2,8 @@ main > section {
|
||||||
min-height: 80vh;
|
min-height: 80vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
main > section > :is(h1, h2) {
|
main > section > h2 {
|
||||||
font-size: 2.5rem;
|
font-size: 3rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: uppercase;
|
|
||||||
}
|
|
||||||
|
|
||||||
main {
|
|
||||||
padding-bottom: 10rem;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue