Skip to content

Commit

Permalink
Merge pull request #76 from esciencecenter-digital-skills/layout-update
Browse files Browse the repository at this point in the history
Add small layout updates and compatibility date
  • Loading branch information
JaroCamphuijsen authored Sep 9, 2024
2 parents df6ba8c + 9d61c7a commit 6fadaf9
Show file tree
Hide file tree
Showing 4 changed files with 4,862 additions and 5,534 deletions.
32 changes: 17 additions & 15 deletions assets/nlesc-decorations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -375,27 +375,29 @@ $heading4Size: 1.5em;
color: white;
margin: 6% 6% 6% 15%;
}
}
};
&.standard {
@include logo-color;
@include yellow-flag;
h1, h2, h3, p, ul{
text-align: left;
text-align: left;
h1, h2, h3, p{
padding-left: 10%;
}
}
};
&.center {
h1, h2, h3, p, ul{
text-align: center;
padding-left: 0%;
}
iframe, img{
display: block;
border-style:none;
margin: 0 auto;

}
h1, h2, h3, p{
text-align: center;
padding-left: 0%;
}
iframe, img{
display: block;
border-style:none;
margin: 0 auto;
}
};
&.black-haze{
@include black-overlay;
}
&.about {
@include logo-part-white;
@include blue-pane-left;
Expand All @@ -407,7 +409,7 @@ $heading4Size: 1.5em;
text-align: left;
padding-left: 55%;
};
}
};
&.keepintouch {
@include logo-color;
@include blue-overlay;
Expand Down
2 changes: 1 addition & 1 deletion assets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
list-style-type: revert;
}

p, ul{
p, ul, ol, li{
a{
// text-decoration: revert;
color: #380339;
Expand Down
12 changes: 8 additions & 4 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ if("BASE_URL" in process.env) {
export default defineNuxtConfig({
runtimeConfig: {
public: publicProps,
}
,
},

devtools: {
enabled: true,
pages: true
},

modules: [
'nuxt-content-assets', // should be loaded before the content module!
'@nuxt/content',
Expand Down Expand Up @@ -56,16 +56,18 @@ export default defineNuxtConfig({
}
}
},

app: {
baseURL: `/${publicProps.baseURL}`
},

generate: {
nojekyll: true,
fallback: '404.html'
},

ssr: true,
target: "static",

css: ['~/assets/style.scss'],

// https://nuxt.com/docs/api/configuration/nuxt-config
Expand All @@ -83,4 +85,6 @@ export default defineNuxtConfig({
process.exit(0)
}
},
})

compatibilityDate: '2024-09-04'
})
Loading

0 comments on commit 6fadaf9

Please sign in to comment.