M assets/scss/index.scss => assets/scss/index.scss +24 -5
@@ 6,7 6,7 @@ $md_spacing: 8px;
$lg_spacing: 16px;
$xl_spacing: 32px;
-$reg_max_width: 720px;
+$reg_max_width: 640px;
$mob_max_width: calc(100% - 12px);
$go_blue: #00acd7;
@@ 24,9 24,20 @@ $gradient_tilt3: 5deg;
min-width: $reg_max_width;
}
+html {
+ min-width: 100vw;
+ max-width: 100vw;
+ min-height: 100vh;
+ max-height: 100vh;
+ margin: 0px;
+}
+
html>body {
margin: 0px;
+ min-width: 100vw;
+ max-width: 100vw;
min-height: 100vh;
+ max-height: 100vh;
background-color: rgb(6, 22, 22);
}
@@ 193,8 204,7 @@ code em {
}
section > * {
- max-width: $reg_max_width;
- min-width: $reg_max_width;
+ @include force-min-max-width;
text-align: left;
}
@@ 404,6 414,11 @@ section#technologies {
font-size: 24px;
}
+ header {
+ max-width: 100vw;
+ min-width: 100vw;
+ }
+
header #contact-links {
position: absolute;
height: 96px;
@@ 425,8 440,8 @@ section#technologies {
section > * {
- max-width: $mob_max_width;
- min-width: $mob_max_width;
+ max-width: 100vw;
+ min-width: 100vw;
text-align: left;
}
@@ 487,4 502,8 @@ section#technologies {
}
}
+
+ .hide-on-mobile {
+ display: none;
+ }
}=
\ No newline at end of file
M index.html => index.html +10 -10
@@ 32,40 32,40 @@
</header>
<div id="content">
<section id="introduction">
- <code>[web@tom.carrio.dev ~]% ls -lt</code>
+ <code>[web@tom.carrio.dev ~]% ls -<span class="hide-on-mobile">l</span>t</code>
<code>
<a href="#intro">
- -rw-r--r-- 1 web web 232 Jan 1 1970 <em>intro.md</em>
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 232 Jan 1 1970 </span><em>intro.md</em>
</a>
<br />
<a href="#sysadmin">
- -rw-r--r-- 1 web web 372 Sep 17 2013 <em>sysadmin.md</em>
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 372 Sep 17 2013 </span><em>sysadmin.md</em>
</a>
<br />
<a href="#automation">
- -rw-r--r-- 1 web web 470 Feb 13 2014 <em>automation.md</em>
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 470 Feb 13 2014 </span><em>automation.md</em>
</a>
<br />
<a href="#ally">
- -rw-r--r-- 1 web web 367 May 22 2017 <em>ally.md</em>
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 367 May 22 2017 </span><em>ally.md</em>
</a>
<br />
<a href="#dynatrace">
- -rw-r--r-- 1 web web 662 May 12 2019 <em>dynatrace.md</em>
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 662 May 12 2019 </span><em>dynatrace.md</em>
</a>
<br />
<a href="#skillshare">
- -rw-r--r-- 1 web web 797 Feb 2 2022 <em>skillshare.md</em>
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 797 Feb 2 2022 </span><em>skillshare.md</em>
</a>
<br />
<a href="#outro">
- -rw-r--r-- 1 web web 197 Apr 29 2023 <em>outro.md</em><br />
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 197 Apr 29 2023 </span><em>outro.md</em><br />
</a>
<a href="#contributions">
- -rw-r--r-- 1 web web 2473 Apr 29 2023 <em>contributions.md</em><br />
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 2473 Apr 29 2023 </span><em>contributions.md</em><br />
</a>
<a href="#technologies">
- -rw-r--r-- 1 web web 1049 Apr 29 2023 <em>technologies.md</em>
+ <span class="hide-on-mobile">-rw-r--r-- 1 web web 1049 Apr 29 2023 </span><em>technologies.md</em>
</a>
</code>