1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00

Adjustments to Splash and Documents layouts and styles

This commit is contained in:
Korbs 2024-11-14 23:52:37 -05:00
parent 92b6f1c558
commit 21282c83ac
4 changed files with 50 additions and 9 deletions

View file

@ -21,7 +21,7 @@ import "@styles/prism.css"
<Head/> <Head/>
<Header/> <Header/>
<div class="page"> <div class="page">
<div class="content"> <article>
<Sidebar/> <Sidebar/>
<div class="document"> <div class="document">
<h1>{frontmatter.Title}</h1> <h1>{frontmatter.Title}</h1>
@ -44,7 +44,7 @@ import "@styles/prism.css"
null null
} --> } -->
</div> </div>
</div> </article>
<div class="footer"> <div class="footer">
<div class="footer-start"> <div class="footer-start">
<p>© {SiteSettings.OrgName}. All right reserved.</p> <p>© {SiteSettings.OrgName}. All right reserved.</p>

View file

@ -20,8 +20,8 @@ import "@styles/feelback.css";
<Head/> <Head/>
<Header/> <Header/>
<div class="page"> <div class="page">
<div class="content"> <div class="content" data-pagefind-body>
<div class="splash"> <article class="splash">
<div class="splash-content"> <div class="splash-content">
<h1>{frontmatter.Title}</h1> <h1>{frontmatter.Title}</h1>
<p>{frontmatter.Description}</p> <p>{frontmatter.Description}</p>
@ -31,7 +31,7 @@ import "@styles/feelback.css";
</div> </div>
</div> </div>
<img src={frontmatter.Banner}/> <img src={frontmatter.Banner}/>
</div> </article>
<div class="document"> <div class="document">
<slot/> <slot/>
</div> </div>
@ -53,4 +53,5 @@ import "@styles/feelback.css";
} }
</div> </div>
</div> </div>
</div> </div>
</html>

View file

@ -1,6 +1,7 @@
body { body {
max-width: 1200px; max-width: 1200px;
margin: auto; margin: auto;
padding: 0px 24px;
font-family: Arial, Helvetica, sans-serif; font-family: Arial, Helvetica, sans-serif;
background: #0a0a0a; background: #0a0a0a;
color: white; color: white;
@ -44,7 +45,8 @@ blockquote {
header { header {
background: #161616; background: #161616;
width: 100%; width: calc(100% - 48px);
padding: 0px 24px;
position: absolute; position: absolute;
top: 0px; top: 0px;
left: 0px; left: 0px;
@ -55,7 +57,12 @@ header {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.end { .header-start {
display: flex;
align-items: center;
gap: 12px;
}
.header-end {
display: flex; display: flex;
gap: 12px; gap: 12px;
a { a {
@ -71,7 +78,7 @@ header {
.page { .page {
position: relative; position: relative;
min-height: 100vh; min-height: 100vh;
.content { article {
padding-top: 90px; padding-top: 90px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -124,3 +131,25 @@ header {
} }
} }
} }
@media screen and (max-width: 775px){
.content {
flex-direction: column !important;
}
}
@media screen and (max-width: 650px){
.header-content {
flex-direction: column;
padding-bottom: 24px;
}
.page .content {
padding-top: 114px !important;
}
.footer {
flex-direction: column !important;
align-items: center;
* {
margin: 0px;
}
}
}

View file

@ -4,6 +4,9 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
img {
width: 100%;
}
.splash-action { .splash-action {
display: flex; display: flex;
gap: 6px; gap: 6px;
@ -21,4 +24,12 @@
} }
} }
} }
}
@media screen and (max-width: 775px){
.splash {
padding: 64px 0px;
img {
display: none !important;
}
}
} }