Move ISSO style to head
This commit is contained in:
@@ -3,75 +3,3 @@
|
|||||||
<section id="isso-thread">
|
<section id="isso-thread">
|
||||||
<noscript>Javascript needs to be activated to view comments.</noscript>
|
<noscript>Javascript needs to be activated to view comments.</noscript>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<style>
|
|
||||||
h4.isso-thread-heading {
|
|
||||||
color: var(--text-color) !important;
|
|
||||||
font-size: var(--step-2) !important;
|
|
||||||
font-variation-settings: "opsz" 50, "wght" 350, "SOFT" 20, "WONK" 1 !important;
|
|
||||||
line-height: calc(var(--step-2) * 0.25 + var(--step-2)) !important;
|
|
||||||
margin-bottom: var(--space-m) !important;
|
|
||||||
margin-top: var(--space-m) !important;
|
|
||||||
padding-bottom: 0 !important;
|
|
||||||
padding-top: 0 !important;
|
|
||||||
text-wrap: pretty;
|
|
||||||
}
|
|
||||||
|
|
||||||
.isso-text > h1, .isso-text > h2 {
|
|
||||||
padding: 0 0 0 0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.isso-form-wrapper > .isso-auth-section > .isso-post-action > input {
|
|
||||||
background-color: var(--contrast-color) !important;
|
|
||||||
border: none !important;
|
|
||||||
border-radius: var(--border-radius) !important;
|
|
||||||
color: var(--background-color) !important;
|
|
||||||
font-family: var(--font-family-ui) !important;
|
|
||||||
font-size: var(--step--2) !important;
|
|
||||||
font-variation-settings: var(--font-variation-ui) !important;
|
|
||||||
height: var(--space-m-l) !important;
|
|
||||||
letter-spacing: var(--ui-letter-spacing) !important;
|
|
||||||
margin: var(--space-xs) 0 0 0 !important;
|
|
||||||
padding: 0 var(--space-xs) !important;
|
|
||||||
text-transform: uppercase !important;
|
|
||||||
transition: var(--transition-normal) !important;
|
|
||||||
white-space: nowrap !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
p.isso-input-wrapper {
|
|
||||||
display: block !important;
|
|
||||||
max-width: 100% !important;
|
|
||||||
& > label, & > input {
|
|
||||||
font-family: var(--font-family-ui) !important;
|
|
||||||
font-size: var(--step--2) !important;
|
|
||||||
font-variation-settings: var(--font-variation-ui) !important;
|
|
||||||
}
|
|
||||||
& input {
|
|
||||||
margin-block: inherit !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.isso-post-action {
|
|
||||||
display: inline-block !important;
|
|
||||||
float: inherit !important;
|
|
||||||
margin: 0 var(--space-2xs) 0 0 !important;
|
|
||||||
&::after {
|
|
||||||
content: "" !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
textarea.isso-textarea {
|
|
||||||
background-color: var(--background-color) !important;
|
|
||||||
border: var(--border-details) !important;
|
|
||||||
border-color: var(--contrast-color) !important;
|
|
||||||
border-radius: var(--border-radius) !important;
|
|
||||||
color: var(--text-color) !important;
|
|
||||||
font-family: var(--font-family) !important;
|
|
||||||
font-size: var(--step-0) !important;
|
|
||||||
font-variation-settings: var(--font-variation-default) !important;
|
|
||||||
margin-block: 0 1lh !important;
|
|
||||||
min-height: var(--space-l) !important;
|
|
||||||
padding: 0 var(--space-3xs) !important;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
73
_includes/issoStyle.njk
Normal file
73
_includes/issoStyle.njk
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
<!-- ISSO style -->
|
||||||
|
<style>
|
||||||
|
h4.isso-thread-heading {
|
||||||
|
color: var(--text-color) !important;
|
||||||
|
font-size: var(--step-2) !important;
|
||||||
|
font-variation-settings: "opsz" 50, "wght" 350, "SOFT" 20, "WONK" 1 !important;
|
||||||
|
line-height: calc(var(--step-2) * 0.25 + var(--step-2)) !important;
|
||||||
|
margin-bottom: var(--space-m) !important;
|
||||||
|
margin-top: var(--space-m) !important;
|
||||||
|
padding-bottom: 0 !important;
|
||||||
|
padding-top: 0 !important;
|
||||||
|
text-wrap: pretty;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isso-text > h1, .isso-text > h2 {
|
||||||
|
padding: 0 0 0 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.isso-form-wrapper > .isso-auth-section > .isso-post-action > input {
|
||||||
|
background-color: var(--contrast-color) !important;
|
||||||
|
border: none !important;
|
||||||
|
border-radius: var(--border-radius) !important;
|
||||||
|
color: var(--background-color) !important;
|
||||||
|
font-family: var(--font-family-ui) !important;
|
||||||
|
font-size: var(--step--2) !important;
|
||||||
|
font-variation-settings: var(--font-variation-ui) !important;
|
||||||
|
height: var(--space-m-l) !important;
|
||||||
|
letter-spacing: var(--ui-letter-spacing) !important;
|
||||||
|
margin: var(--space-xs) 0 0 0 !important;
|
||||||
|
padding: 0 var(--space-xs) !important;
|
||||||
|
text-transform: uppercase !important;
|
||||||
|
transition: var(--transition-normal) !important;
|
||||||
|
white-space: nowrap !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
p.isso-input-wrapper {
|
||||||
|
display: block !important;
|
||||||
|
max-width: 100% !important;
|
||||||
|
& > label, & > input {
|
||||||
|
font-family: var(--font-family-ui) !important;
|
||||||
|
font-size: var(--step--2) !important;
|
||||||
|
font-variation-settings: var(--font-variation-ui) !important;
|
||||||
|
}
|
||||||
|
& input {
|
||||||
|
margin-block: inherit !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.isso-post-action {
|
||||||
|
display: inline-block !important;
|
||||||
|
float: inherit !important;
|
||||||
|
margin: 0 var(--space-2xs) 0 0 !important;
|
||||||
|
&::after {
|
||||||
|
content: "" !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea.isso-textarea {
|
||||||
|
background-color: var(--background-color) !important;
|
||||||
|
border: var(--border-details) !important;
|
||||||
|
border-color: var(--contrast-color) !important;
|
||||||
|
border-radius: var(--border-radius) !important;
|
||||||
|
color: var(--text-color) !important;
|
||||||
|
font-family: var(--font-family) !important;
|
||||||
|
font-size: var(--step-0) !important;
|
||||||
|
font-variation-settings: var(--font-variation-default) !important;
|
||||||
|
margin-block: 0 1lh !important;
|
||||||
|
min-height: var(--space-l) !important;
|
||||||
|
padding: 0 var(--space-3xs) !important;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<!-- /ISSO style -->
|
||||||
@@ -12,6 +12,7 @@
|
|||||||
<!-- /Indieweb profile links -->
|
<!-- /Indieweb profile links -->
|
||||||
{% include "structuredData.njk" %}
|
{% include "structuredData.njk" %}
|
||||||
{% include "analytics.html" %}
|
{% include "analytics.html" %}
|
||||||
|
{% include "issoStyle.njk" %}
|
||||||
{% include "weatherStyle.njk" %}
|
{% include "weatherStyle.njk" %}
|
||||||
{% include "wooModeStyle.njk" %}
|
{% include "wooModeStyle.njk" %}
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user