Fix formatting and error
This commit is contained in:
parent
2355b51886
commit
a7e1dbe69a
2 changed files with 13 additions and 6 deletions
|
@ -1,4 +1,9 @@
|
||||||
const path = require("path")
|
const path = require("path"),
|
||||||
|
fs = require("fs")
|
||||||
|
|
||||||
|
var config = JSON.parse(fs.readFileSync(path.join(__dirname, 'config.json')))
|
||||||
|
|
||||||
|
var activityImages = config.activityImages
|
||||||
|
|
||||||
function get_img_url(activity, size = "large_image") {
|
function get_img_url(activity, size = "large_image") {
|
||||||
|
|
||||||
|
@ -190,6 +195,7 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
addedHTML = addedHTML.replaceAll("Violet", "{Violet}")
|
||||||
return addedHTML + "</div>"
|
return addedHTML + "</div>"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -92,16 +92,17 @@ img:not(.project-inner > div > img) {
|
||||||
|
|
||||||
@media screen and (min-width: 750px) {
|
@media screen and (min-width: 750px) {
|
||||||
.activity-container {
|
.activity-container {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: 1fr 1fr;
|
flex-wrap: wrap;
|
||||||
grid-gap: 10px;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity {
|
.activity {
|
||||||
|
flex: 0 0 49%;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
width: 100%;
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
/* border: 2px white solid; */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue