'the system' mobile fixes
This commit is contained in:
parent
af5f3d4a29
commit
3ce2b1fe29
6 changed files with 28 additions and 12 deletions
|
@ -58,9 +58,9 @@
|
||||||
<nav>
|
<nav>
|
||||||
<a aria-hidden="true" tabindex="-1" id="here" href="#">Home</a>
|
<a aria-hidden="true" tabindex="-1" id="here" href="#">Home</a>
|
||||||
<a href="support.html">Support</a>
|
<a href="support.html">Support</a>
|
||||||
<a href="subsystem/index.html" id="subsystem" onclick="disableInject()"
|
<a href="subsystem/index.html" id="subsystem" onclick="disableInject()">
|
||||||
>SUBSYSTEM</a
|
<p id="nonintrude">SUBSYSTEM</p>
|
||||||
>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
<hgroup>
|
<hgroup>
|
||||||
<h1>We Are <span class="dsre">The System</span></h1>
|
<h1>We Are <span class="dsre">The System</span></h1>
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
<nav>
|
<nav>
|
||||||
<a href="index.html">Home</a>
|
<a href="index.html">Home</a>
|
||||||
<a href="support.html">Support</a>
|
<a href="support.html">Support</a>
|
||||||
<a href="subsystem/index.html" id="subsystem">SUBSYSTEM</a>
|
<a href="subsystem/index.html" id="subsystem"><div id="nonintrude">SUBSYSTEM</div></a>
|
||||||
</nav>
|
</nav>
|
||||||
<hgroup>
|
<hgroup>
|
||||||
<h1>We Are <span class="dsre">The System</span></h1>
|
<h1>We Are <span class="dsre">The System</span></h1>
|
||||||
|
|
|
@ -10,14 +10,15 @@
|
||||||
#ndx-decree,
|
#ndx-decree,
|
||||||
#ndx-more {
|
#ndx-more {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-left: min(2%, 25px);
|
|
||||||
margin-right: min(2%, 25px);
|
|
||||||
}
|
}
|
||||||
#ndx-news,
|
#ndx-news,
|
||||||
#ndx-more {
|
#ndx-more {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: auto;
|
min-width: 270px;
|
||||||
|
|
||||||
|
margin-left: min(2%, 25px);
|
||||||
|
margin-right: min(2%, 25px);
|
||||||
}
|
}
|
||||||
#ndx-news article,
|
#ndx-news article,
|
||||||
#ndx-more article {
|
#ndx-more article {
|
||||||
|
@ -64,7 +65,6 @@
|
||||||
width: 10%;
|
width: 10%;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
margin: auto;
|
|
||||||
}
|
}
|
||||||
#ndx-more img {
|
#ndx-more img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
14
style.css
14
style.css
|
@ -26,6 +26,8 @@
|
||||||
body {
|
body {
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
font-family: "playfair", serif;
|
font-family: "playfair", serif;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
}
|
}
|
||||||
h1,
|
h1,
|
||||||
h2 {
|
h2 {
|
||||||
|
@ -84,8 +86,20 @@ nav a:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
#subsystem {
|
#subsystem {
|
||||||
|
position: relative;
|
||||||
|
height: 41px;
|
||||||
animation: glitch 1s infinite;
|
animation: glitch 1s infinite;
|
||||||
}
|
}
|
||||||
|
#nonintrude {
|
||||||
|
position: absolute;
|
||||||
|
height: 21px;
|
||||||
|
top: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
margin: auto;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
hgroup {
|
hgroup {
|
||||||
margin: 20px auto;
|
margin: 20px auto;
|
||||||
|
|
|
@ -14,11 +14,11 @@ function inject() {
|
||||||
"FO-CHÓRAS",
|
"FO-CHÓRAS",
|
||||||
"KĀNĀWAI",
|
"KĀNĀWAI",
|
||||||
"SUBSYSTEM",
|
"SUBSYSTEM",
|
||||||
|
"サブシステム",
|
||||||
|
"ΥΠΟΣΥΣΤΕΜΑ",
|
||||||
];
|
];
|
||||||
|
|
||||||
// "サブシステム", "ΥΠΟΣΥΣΤΕΜΑ",
|
document.getElementById("nonintrude").innerHTML =
|
||||||
|
|
||||||
document.getElementById("subsystem").innerHTML =
|
|
||||||
terms[Math.floor(Math.random() * terms.length)];
|
terms[Math.floor(Math.random() * terms.length)];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,9 @@
|
||||||
<nav>
|
<nav>
|
||||||
<a href="index.html">Home</a>
|
<a href="index.html">Home</a>
|
||||||
<a aria-hidden="true" tabindex="-1" id="here" href="#">Support</a>
|
<a aria-hidden="true" tabindex="-1" id="here" href="#">Support</a>
|
||||||
<a href="subsystem/index.html" id="subsystem">SUBSYSTEM</a>
|
<a href="subsystem/index.html" id="subsystem"
|
||||||
|
><div id="nonintrude">SUBSYSTEM</div></a
|
||||||
|
>
|
||||||
</nav>
|
</nav>
|
||||||
<hgroup>
|
<hgroup>
|
||||||
<h1><span class="dsre">System</span> Support</h1>
|
<h1><span class="dsre">System</span> Support</h1>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue