Updates
This commit is contained in:
parent
30a88f0bc7
commit
780fd4398d
|
@ -1,4 +1,4 @@
|
||||||
export default ({ lang }) => <div
|
export default ({ lang, className }) => <div
|
||||||
id={`dates-list-${lang}`}
|
id={`dates-list-${lang}`}
|
||||||
className="ps-hakken-dates"
|
className={`ps-hakken-dates ${className}`}
|
||||||
></div>;
|
></div>;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
export default () => <div id="logo" className="ps-logo">
|
export default ({ className }) => <div id="logo" className={`ps-logo ${className}`}>
|
||||||
<svg data-name="Layer 3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 275.3 276.37" className="ps-logo--base">
|
<svg data-name="Layer 3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 275.3 276.37" className="ps-logo--base">
|
||||||
<title>PubSolar logo</title>
|
<title>PubSolar logo</title>
|
||||||
<defs>
|
<defs>
|
||||||
|
|
|
@ -50,7 +50,7 @@ export default ({
|
||||||
className="ps-page--section-contents"
|
className="ps-page--section-contents"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
{showHakkenDates ? <HakkenDates lang="en" /> : null}
|
{showHakkenDates ? <HakkenDates lang="en" className="ps-page--section-contents" /> : null}
|
||||||
{showISOIFrame ? <ISOIFrame /> : null}
|
{showISOIFrame ? <ISOIFrame /> : null}
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ export default ({
|
||||||
className="ps-page--section-contents"
|
className="ps-page--section-contents"
|
||||||
></div>
|
></div>
|
||||||
|
|
||||||
{showHakkenDates ? <HakkenDates lang="de" /> : null}
|
{showHakkenDates ? <HakkenDates lang="de" className="ps-page--section-contents" /> : null}
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -6,13 +6,8 @@
|
||||||
speak: none;
|
speak: none;
|
||||||
|
|
||||||
&--logo {
|
&--logo {
|
||||||
width: calc(100vw / 9);
|
width: 100px;
|
||||||
height: 4rem;
|
|
||||||
margin: 0.1rem;
|
margin: 0.1rem;
|
||||||
|
|
||||||
@media screen and (orientation: landscape) {
|
|
||||||
width: calc(100vw / 16);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&--1312 {
|
&--1312 {
|
||||||
|
|
|
@ -99,7 +99,7 @@
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
margin-top: 16px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> h1, h2 {
|
> h1, h2 {
|
||||||
|
|
|
@ -9,7 +9,7 @@ html {
|
||||||
--background-alt: #f5f5f5;
|
--background-alt: #f5f5f5;
|
||||||
|
|
||||||
font-family: 'Open Sans', Arial, sans-serif;
|
font-family: 'Open Sans', Arial, sans-serif;
|
||||||
font-weight: 900;
|
font-weight: 800;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
color: var(--foreground);
|
color: var(--foreground);
|
||||||
-ms-text-size-adjust: 100%;
|
-ms-text-size-adjust: 100%;
|
||||||
|
@ -25,8 +25,8 @@ html {
|
||||||
|
|
||||||
@import './main';
|
@import './main';
|
||||||
@import './page';
|
@import './page';
|
||||||
@import './background';
|
|
||||||
@import './logo';
|
@import './logo';
|
||||||
|
@import './background';
|
||||||
@import './footer';
|
@import './footer';
|
||||||
@import './homelink';
|
@import './homelink';
|
||||||
@import './iso-iframe.scss';
|
@import './iso-iframe.scss';
|
||||||
|
|
|
@ -2,10 +2,12 @@
|
||||||
const background = document.getElementById("background");
|
const background = document.getElementById("background");
|
||||||
const logo = document.getElementById("logo").cloneNode(true);
|
const logo = document.getElementById("logo").cloneNode(true);
|
||||||
logo.id = "";
|
logo.id = "";
|
||||||
(new Array(Math.ceil(window.innerWidth / 100) * Math.ceil(window.innerHeight / 100)))
|
const generateBackground = () => (new Array(Math.ceil(window.innerWidth / 100) * Math.ceil(window.innerHeight / 100)))
|
||||||
.fill(null)
|
.fill(null)
|
||||||
.map(_ => logo.cloneNode(true))
|
.map(_ => logo.cloneNode(true))
|
||||||
.forEach(l => {
|
.forEach(l => {
|
||||||
background.appendChild(l);
|
background.appendChild(l);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
generateBackground();
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in a new issue