Move css and js files from static/* to assets/*

This commit is contained in:
himanoa
2019-04-03 17:24:08 +09:00
parent f909d2f5d4
commit 3950afca09
5 changed files with 0 additions and 0 deletions

View File

@@ -1,234 +0,0 @@
/* Webfont: LatoLatin-Black */@font-face {
font-family: 'LatoLatinWebBlack';
src: url('../font/LatoLatin-Black.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Black.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Black.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Black.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Black.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-BlackItalic */@font-face {
font-family: 'LatoLatinWebBlack';
src: url('../font/LatoLatin-BlackItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-BlackItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-BlackItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-BlackItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-BlackItalic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Bold */@font-face {
font-family: 'LatoLatinWeb';
src: url('../font/LatoLatin-Bold.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Bold.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Bold.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Bold.ttf') format('truetype');
font-style: normal;
font-weight: bold;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-BoldItalic */@font-face {
font-family: 'LatoLatinWeb';
src: url('../font/LatoLatin-BoldItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-BoldItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-BoldItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-BoldItalic.ttf') format('truetype');
font-style: italic;
font-weight: bold;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Hairline */@font-face {
font-family: 'LatoLatinWebHairline';
src: url('../font/LatoLatin-Hairline.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Hairline.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Hairline.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Hairline.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Hairline.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-HairlineItalic */@font-face {
font-family: 'LatoLatinWebHairline';
src: url('../font/LatoLatin-HairlineItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-HairlineItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-HairlineItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-HairlineItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-HairlineItalic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Heavy */@font-face {
font-family: 'LatoLatinWebHeavy';
src: url('../font/LatoLatin-Heavy.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Heavy.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Heavy.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Heavy.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Heavy.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-HeavyItalic */@font-face {
font-family: 'LatoLatinWebHeavy';
src: url('../font/LatoLatin-HeavyItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-HeavyItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-HeavyItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-HeavyItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-HeavyItalic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Italic */@font-face {
font-family: 'LatoLatinWeb';
src: url('../font/LatoLatin-Italic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Italic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Italic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Italic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Light */@font-face {
font-family: 'LatoLatinWebLight';
src: url('../font/LatoLatin-Light.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Light.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-LightItalic */@font-face {
font-family: 'LatoLatinWebLight';
src: url('../font/LatoLatin-LightItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-LightItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-LightItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-LightItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-LightItalic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Medium */@font-face {
font-family: 'LatoLatinWebMedium';
src: url('../font/LatoLatin-Medium.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Medium.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Medium.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Medium.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Medium.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-MediumItalic */@font-face {
font-family: 'LatoLatinWebMedium';
src: url('../font/LatoLatin-MediumItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-MediumItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-MediumItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-MediumItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-MediumItalic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Regular */@font-face {
font-family: 'LatoLatinWeb';
src: url('../font/LatoLatin-Regular.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Regular.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Semibold */@font-face {
font-family: 'LatoLatinWebSemibold';
src: url('../font/LatoLatin-Semibold.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Semibold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Semibold.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Semibold.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Semibold.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-SemiboldItalic */@font-face {
font-family: 'LatoLatinWebSemibold';
src: url('../font/LatoLatin-SemiboldItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-SemiboldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-SemiboldItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-SemiboldItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-SemiboldItalic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-Thin */@font-face {
font-family: 'LatoLatinWebThin';
src: url('../font/LatoLatin-Thin.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-Thin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-Thin.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-Thin.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-Thin.ttf') format('truetype');
font-style: normal;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}
/* Webfont: LatoLatin-ThinItalic */@font-face {
font-family: 'LatoLatinWebThin';
src: url('../font/LatoLatin-ThinItalic.eot'); /* IE9 Compat Modes */
src: url('../font/LatoLatin-ThinItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../font/LatoLatin-ThinItalic.woff2') format('woff2'), /* Modern Browsers */
url('../font/LatoLatin-ThinItalic.woff') format('woff'), /* Modern Browsers */
url('../font/LatoLatin-ThinItalic.ttf') format('truetype');
font-style: italic;
font-weight: normal;
font-display: swap;
text-rendering: optimizeLegibility;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,461 +0,0 @@
body {
font-family: 'LatoLatinWeb', Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
color: #141823;
font-size: 1.1em;
background-color: #ecedef;
margin: 0;
padding: 0 0 2em 0;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
box-sizing: border-box;
word-break: break-word;
}
p {
margin: 1.5em 0;
}
b,
strong {
font-family: 'LatoLatinWebHeavy';
font-weight: normal;
}
.nav-bar {
max-width: 50rem;
width: 100%;
padding: 0.4em 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-header {
margin: 0;
}
.nav-text {
text-decoration: none;
z-index: 105;
font-size: 0.8em;
}
.hamburger-menu {
display: block;
position: relative;
z-index: 105;
-webkit-user-select: none;
user-select: none;
}
.hamburger-menu button {
display: block;
position: relative;
width: 33px;
height: 33px;
padding: 0px;
border: 0px;
outline: none;
background-color: transparent;
z-index: 500; /* and place it over the hamburger */
-webkit-touch-callout: none;
cursor: pointer;
}
.hamburger-menu button span {
display: block;
width: 33px;
height: 4px;
position: relative;
background-color: #141823;
border-radius: 3px;
transform-origin: center;
transition: transform 0.3s cubic-bezier(0.77,0.2,0.05,1.0),
background-color 0.3s cubic-bezier(0.77,0.2,0.05,1.0);
}
.hamburger-menu button span:first-of-type {
margin-bottom: 5px;
}
.hamburger-menu-open button span {
background-color: white;
transform: rotate(45deg) translate(3.2px , 3.2px);
}
.hamburger-menu-open button span:last-of-type {
transform: rotate(-45deg) translate(3.2px , -3.2px);
}
.hamburger-menu-overlay {
display: block;
position: fixed;
box-sizing: border-box;
top: 0;
left: 0;
width: 100vw;
height: 100%;
z-index: 100;
text-align: center;
visibility: hidden;
overflow-y: auto;
margin: 0;
padding: 3.5em 0 0 0;
background-color: #000;
opacity: 0;
transition: visibility 0.2s ease-out, opacity 0.2s ease-out;
}
.hamburger-menu-open .hamburger-menu-overlay {
visibility: visible;
opacity: 0.9;
}
.hamburger-menu-overlay-link {
text-decoration: none;
text-transform: uppercase;
font-size: 2em;
line-height: 1.7;
color: white;
}
.post {
margin: 0 0 1em 0;
line-height: 1.6;
}
.post-header {
margin: 0 0 1.5em 0;
}
.post-title {
font-size: 1.8em;
line-height: 1.2;
margin: 0 0 0.4em 0;
}
.post-date {
display: block;
color: #7a7b7c;
font-size: 0.8em;
margin: 0;
}
.post-figure {
margin: 1.5em 0;
}
.dropcase > p:first-of-type::first-letter {
float: left;
font-size: 3em;
line-height: 1;
margin: 0.05em 0.15em -0.1em 0;
/* initial-letter: 2; Maybe someday*/
}
.content {
background-color: white;
padding: 2em 0;
margin-bottom: 2em;
width: 100%;
max-width: 52rem;
border-radius: 0.3rem;
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
box-shadow: 0 0.7rem 1.4rem 0 rgba(0,0,0,0.25), 0 0.5rem 0.5rem 0 rgba(0,0,0,0.22);
}
.list-header {
margin: 6em 0;
text-align: center;
}
.list-header-title {
margin: 0.1em 0 0.2em 0;
font-size: 2.2em;
text-transform: uppercase;
}
.list-header-subtext {
font-weight: normal;
color: #7a7b7c;
font-size: 1em;
line-height: 1.6;
margin: 0;
}
.card-container {
max-width: 49rem;
}
.card {
display: block;
margin: 2.2rem 0;
box-sizing: border-box;
background-color: white;
text-decoration: none;
border-radius: 0.3rem;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.19), 0 0.3rem 0.3rem -0.1rem rgba(0,0,0,0.23);
}
.home-card {
padding: 0.8em;
font-size: 2em;
font-weight: bold;
text-align: center;
color: white;
background-position: center center;
object-fit: cover;
}
.blog-card {
display: flex;
flex-direction: column;
align-items: stretch;
}
.card-img-container {
position: relative;
}
.card-img {
border-radius: 0.3rem 0.3rem 0 0;
margin: 0 0 -0.28em 0;
max-height: 10em;
object-fit: cover;
}
.card-img-overlay {
border-radius: 0.3rem 0.3rem 0 0;
position: absolute;
top: 0;
font-size: 1.27em;
text-align: center;
padding: 1.18em 0 0.5em 0;
width: 100%;
box-sizing: border-box;
margin: 0;
color: white;
background-color: rgba(0, 0, 0, 0.4);
z-index: 5;
}
.card-body {
padding: 1em;
}
.card-title {
margin: 0;
line-height: 1.2;
}
.card-text {
margin: 1em 0;
line-height: 1.5;
}
.card-subtext {
display: flex;
flex-direction: row;
justify-content: flex-start;
font-size: 0.8em;
}
.card-subtext > p {
margin: 0;
}
.card-subtext > p + p {
margin-left: 1em;
padding-left: 1em;
word-spacing: 0.5em;
border-left: thin solid #7a7b7c;
}
.end-nav {
width: 100%;
max-width: 49rem;
}
.pagination-nav {
margin: 2em 0;
width: 100%;
max-width: 47rem;
}
.pagination-newer {
float:left;
}
.pagination-older {
float: right;
}
.button {
padding: 0.5em 0.6em;
background-color: #FFF;
text-decoration: none;
border-radius: 0.3rem;
transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1);
box-shadow: 0 0.15rem 0.3rem rgba(0,0,0,0.16), 0 0.15rem 0.3rem rgba(0,0,0,0.23);
}
.button:hover {
box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24);
transform: scale(0.97);
}
.button:active {
transform: scale(1);
}
.side-gutter {
margin-left: 1.2rem !important;
margin-right: 1.2rem !important;
}
.side-padding {
padding-left: 1.2rem !important;
padding-right: 1.2rem !important;
box-sizing: border-box !important;
}
.side-text-padding {
padding-left: 1.2rem !important;
padding-right: 1.2rem !important;
box-sizing: border-box !important;
}
.small-img {
width: unset;
max-width: 100%;
margin: 1.5em auto;
}
.muted-text {
color: #7a7b7c;
}
.katex-display {
margin: 1.5em 0;
overflow-x: auto;
overflow-y: hidden;
}
#disqus_thread {
margin-top: 5em;
}
.no-scroll {
overflow: hidden;
position: fixed;
}
h1, h2, h3, h4, h5, h6 {
margin: 1.5em 0 -0.5em 0;
clear: both;
}
img {
display: block;
width: 100%;
height: auto;
margin: 1.5em 0;
}
blockquote {
border-left: 0.3em solid #D1D1D1;
margin: 1.5em 0.8em;
padding: .5em 0.5em;
font-style: italic;
}
blockquote p {
display: inline;
}
ul,
ol {
padding-left: 1.6em;
}
li ul, li ol {
padding-left: 1em;
}
li > p {
margin: 0;
}
code {
font-family: monospace;
padding: .2em .5em;
line-height: 1.5;
border-radius: 0.3rem;
background-color: #f5f6f7;
}
pre > code {
margin: 1.5em 0;
display: block;
padding: 0.5em;
word-break: normal;
overflow-x: auto;
color: black;
}
hr {
border: 0;
border-bottom: thin solid #D1D1D1;
margin: 3em 0;
clear: both;
}
a {
color: #141823;
}
table {
color: #141823;
border-collapse: collapse;
border-spacing: 0;
margin: 1.5em 0;
}
td,
th {
padding: 0.5em 1em;
border: thin solid #D1D1D1
}
th {
font-family: 'LatoLatinWebHeavy';
font-weight: normal
}
tr:nth-child(even) td {
background: #f5f6f7;
}
footer {
padding: 2em 0;
margin: 2em 0 0 0;
}
@media screen and (pointer: coarse) {
.card-hover {
transform: scale(0.95);
box-shadow: 0 0.15rem 0.3rem 0 rgba(0, 0, 0, 0.16), 0 0.15rem 0.3rem -0.04rem rgba(0, 0, 0, 0.23);
}
}
@media not screen and (pointer: coarse) {
.card:hover {
transform: scale(0.97);
box-shadow: 0 0.15rem 0.3rem 0 rgba(0, 0, 0, 0.16), 0 0.15rem 0.3rem -0.04rem rgba(0, 0, 0, 0.23);
}
.card:active {
transform: scale(1);
}
}
/* Medium devices (tablets, ~641px and up) */
@media only screen and (min-width: 40.063em) {
body {
font-size: 1.15rem;
}
.nav-bar {
padding: 0.8em 0;
}
.list-header-title {
font-weight: normal;
font-size: 4.2em;
}
.card {
border-radius: 0.2rem;
/* margin: 2.5em 0; */
}
.blog-card {
flex-direction: row;
align-items: stretch;
}
.card-img {
border-radius: 0.2rem 0 0 0.2rem;
margin: 0;
max-height: unset;
height: 100%;
width: 15em;
}
.card-img-overlay {
border-radius: 0.2rem 0 0 0;
}
.card-body {
padding: 1.5em 1.3em;
}
.card-title {
font-size: 1.27em;
}
.card-text {
font-size: 0.95em;
margin: 1.2em 0;
}
.card-subtext {
font-size: 0.7em;
}
.content {
border-radius: 0.2rem;
}
.post {
margin: 1em 1em 2em 1em;
}
.post-title {
font-size: 2.5em;
}
.button {
border-radius: 0.2rem;
}
.smartfloat-right {
float: right;
margin: 0em 0em 1em 1em;
}
.smartfloat-left {
float: left;
margin: 0em 1em 1em 0em;
}
code {
border-radius: 0.2rem;
}
}

View File

@@ -1,83 +0,0 @@
/*
XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
*/
.hljs-comment,
.hljs-quote {
color: #006a00;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal {
color: #aa0d91;
}
.hljs-name {
color: #008;
}
.hljs-variable,
.hljs-template-variable {
color: #660;
}
.hljs-string {
color: #c41a16;
}
.hljs-regexp,
.hljs-link {
color: #080;
}
.hljs-title,
.hljs-tag,
.hljs-symbol,
.hljs-bullet,
.hljs-number,
.hljs-meta {
color: #1c00cf;
}
.hljs-section,
.hljs-class .hljs-title,
.hljs-type,
.hljs-attr,
.hljs-built_in,
.hljs-builtin-name,
.hljs-params {
color: #5c2699;
}
.hljs-attribute,
.hljs-subst {
color: #000;
}
.hljs-formula {
background-color: #eee;
font-style: italic;
}
.hljs-addition {
background-color: #baeeba;
}
.hljs-deletion {
background-color: #ffc8bd;
}
.hljs-selector-id,
.hljs-selector-class {
color: #9b703f;
}
.hljs-doctag,
.hljs-strong {
font-weight: bold;
}
.hljs-emphasis {
font-style: italic;
}

View File

@@ -1,24 +0,0 @@
function cardPressed() {
this.classList.add('card-hover');
}
function cardReleased() {
this.classList.remove('card-hover');
}
function hamburgerMenuPressed() {
if (this.parentNode.classList.contains('hamburger-menu-open')) {
document.body.classList.remove('no-scroll');
this.parentNode.classList.remove('hamburger-menu-open')
this.setAttribute('aria-expanded', "false");
document.body.style.paddingRight = 0 + "px";
} else {
document.body.style.paddingRight = window.innerWidth - document.documentElement.clientWidth + "px";
document.body.classList.add('no-scroll');
this.parentNode.classList.add('hamburger-menu-open')
this.setAttribute('aria-expanded', "true");
}
}