Upload files to "/"

This commit is contained in:
ai-bot committed 2026-10-14 07:49:25 +00:00
1 parent 9f5faad4aa
commit ab46d8b700
3 files changed
+660

No files matched your search

+599
View File
@@ -0,0 +1,599 @@
/*
Theme Name: NTKF
Theme URI: http://sondreolav.com/
Author: sondreolav
Author URI: http://sondreolav.com/
Description: Eit tema tilpassa for Taubaneforeningen.no
Version: 1.0
*/
:root {
/*--bg-color: #131313;
--txt-color: #FFF;
--a: #D2C291;
--a-hover: #AAA;
--border-color: #444;
--font: Manrope, sans-serif;*/
--bg-color: #38629F;
--txt-color: #FFF;
--a: #DDD;
--a-hover: #AAA;
--border-color: #FFF;
--font: Manrope, sans-serif;
}
body {
background-color: var(--bg-color);
font-family: var(--font);
color: var(--txt-color);
font-size: 1.1rem;
line-height: 1.5;
letter-spacing: .08rem;
margin: 0;
}
* {
box-sizing: border-box;
}
a {
color: var(--a);
text-decoration: underline solid .05rem;
overflow-wrap: break-word;
word-wrap: break-word;
}
a:hover {
color: var(--a-hover);
/*text-decoration: underline dotted .1rem;*/
text-decoration: none;
}
.header-menu-class a, .entry-title a { text-decoration: none; }
.header-menu-class a:hover, .entry-title a:hover { text-decoration: underline solid .05rem; }
header {
border-color: var(--border-color);
border-style: solid;
border-width: 0 0 1px 0;
align-items: center;
}
header nav, .entry-title, .entry-meta, div.pagination {
width: 100%;
max-width: 1024px;
/*position: relative;*/
margin: auto;
padding: 0 1rem;
}
.logo {
font-size: 1.2rem;
width: 20rem;
display: grid;
grid-template-columns: auto auto;
align-items: center;
}
.logo a {
display: contents;
color: inherit;
}
.logo img {
width: 4rem;
height: 4rem;
}
.logo span { padding: 0 0 0 1rem; }
#nav-grid {
grid-template-columns: auto 1fr;
column-gap: 1rem;
align-items: center;
display: grid;
padding: 1.5rem 0;
}
.header-menu-class, .rss-feed {
overflow: hidden;
margin: auto;
/*position: absolute;
right: 1rem;*/
}
.header-menu-class ul, .rss-feed ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.header-menu-class li { float: left; }
.rss-feed li {
padding: 1rem 0 0 0;
line-height: 1.2;
}
.header-menu-class li a {
display: block;
padding: .5rem;
}
.rss-feed span { color: var(--a-hover); }
.entry-title, .entry-meta/*, .rss-title*/ { text-align: center; }
.entry-title {
font-size: 3rem;
font-weight: normal;
padding: 2rem 1rem .5rem 1rem;
overflow-wrap: break-word;
word-wrap: break-word;
}
.rss-title {
font-size: 2rem;
font-weight: normal;
margin: 0;
}
.entry-title a, .author a { color: var(--txt-color); }
.entry-title a:hover, .author a:hover { color: var(--a-hover) !important; }
.entry-title.search {
padding: 2rem 1rem 0 1rem;
}
.entry-meta p {
font-size: 1.2rem;
margin: 0;
padding: .5rem 0;
}
.date, .categories { color: var(--a-hover) }
.entry-content, .rss-feed {
max-width: 640px;
border-bottom: 1px solid var(--border-color);
margin: auto;
padding: 0 1rem;
}
.rss-feed { padding: 1rem; }
.entry-content p, .wp-block-image, .wp-block-file, .bbp-breadcrumb p { margin: 1rem 0; }
.wp-block-file a, .entry-content a { text-decoration: underline solid .05rem; }
.wp-block-file a:hover, .entry-content a:hover { text-decoration: none; }
.wp-block-image img, .alignnone {
width: 100%;
height: auto;
}
blockquote {
margin: 1rem;
padding: 0 0 0 1rem;
border-left: 1px solid var(--border-color);
font-style: italic;
}
/* 2026-03-05 */
a.wp-block-file__button { display: none; }
/* table */
.wp-block-table { margin: 1rem 0; }
.has-fixed-layout { border-collapse: collapse; border-spacing: 0; width: 100%; display: table; }
.has-fixed-layout td, .has-fixed-layout th { padding: .5rem; display: table-cell; text-align: left; vertical-align: top; }
.has-fixed-layout th:first-child, .has-fixed-layout td:first-child { /*padding-left:16px;*/ }
.has-fixed-layout tr { border-bottom: 1px solid var(--border-color); }
figcaption {
font-style: italic;
padding: .5rem 0;
}
/* end: table */
/* youtube */
.wp-block-embed { margin: 1rem 0; }
.wp-block-embed__wrapper {
position: relative;
width: 100%;
padding-bottom: 56.25%; /* 16:9 aspect ratio */
height: 0;
overflow: hidden;
}
.wp-block-embed__wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
/* end: youtube */
/* heding */
.wp-block-heading {
font-size: 2.5rem;
font-weight: normal !important;
margin: 1rem 0;
}
/* 2026-03-05 */
h3.wp-block-heading { font-size: inherit; }
/* end: heading */
/* list */
.wp-block-list {
margin: 1rem 0;
padding: 0 0 0 1.5rem;
}
/* 2026-03-05 */
.entry-content ol.wp-block-list li, .entry-content ul.wp-block-list li { margin: 0 0 .4rem 0; }
.entry-content ol.wp-block-list li ul.wp-block-list, .entry-content ul.wp-block-list li ul.wp-block-list { margin: -.4rem 0 .4rem 0; }
/* end: list */
/* 2026-03-05 fikse liste med filer */
.is-vertical .wp-block-file { margin: -.2rem 0 0 1.2rem; }
/* details */
.wp-block-details { margin: 1rem 0; }
.wp-block-details p { margin: .5rem 0 1rem 0; }
/* end: details */
h2.screen-reader-text { display: none; }
div.pagination {
max-width: 640px;
display: flex;
justify-content: center;
align-items: center;
/*padding: 1rem !important;*/
/*padding: 1rem 1rem .5rem 1rem !important;*/
margin: .5rem auto 0 auto;
}
.pagination .prev {
order: 1;
min-width: 3rem;
}
.pagination .page-numbers {
order: 2;
flex-grow: 1;
text-align: center;
}
.page-numbers.current { color: var(--a) }
.pagination .next {
order: 3;
min-width: 3rem;
}
.search-container {
width: fit-content;
margin: .5rem auto 1rem auto;
}
.search-container input[type=search], .entry-content input[type=password], .bbp-search-form input[type=text] {
font-size: 1rem;
border: none;
width: calc(640px - 8rem);
margin: 0 0 0 1rem;
padding: .5rem;
float: inline-start;
}
.entry-content input[type=password] {
float: unset;
margin: 0;
width: auto;
}
.search-container button, .entry-content input[type=submit], .submit button#bbp_user_edit_submit[type=submit], .bbp-submit-wrapper button#bbp_reply_submit[type=submit], .bbp-submit-wrapper button#bbp_topic_submit[type=submit] {
background: var(--a-hover);
font-size: 1rem;
border: none;
cursor: pointer;
width: 6rem;
margin: 0 1rem 0 0;
padding: .5rem 1rem;
}
/* footer */
footer { border-top: 1px solid var(--border-color); }
.footer-logo {
margin: auto;
padding: 1rem 0 .5rem 0;
}
#logout {
margin: auto;
width: fit-content;
}
#org-nr {
margin: auto;
width: fit-content;
}
#org-nr p { margin: .5rem 0 1rem 0; }
/* end: footer */
/* Slideshow */
.super-simple-slideshow {
max-width: 640px;
margin: auto;
padding: 1rem;
border-bottom: 1px solid var(--border-color);
}
.super-simple-slideshow img.super-simple-slide {
display: none;
width: 100% !important;
height: auto !important;
aspect-ratio: 16 / 9;
object-fit: cover;
object-position: center;
}
.super-simple-slideshow img.super-simple-slide.active { display: block; }
/* end: slideshow */
@media (max-width: 768px) {
#nav-grid { grid-template-columns: 1fr; }
.header-menu-class {
margin: 0;
padding: 1.5rem 0 0 0;
position: unset;
}
.header-menu-class li {
float: unset;
}
.header-menu-class a {
padding: .5rem 0 !important;
}
.search-container input[type=search] {
width: calc(100vw - 8rem);
}
}
/* bbPress */
.screen-reader-text, .bbp-breadcrumb-home, .bbp-breadcrumb-sep:first-of-type, .bbp-template-notice.info, .bbp-pagination, .bbp-topic-voice-count, .bbp-author-avatar, .bbp-forum-info .bbp-forums-list, .bbp-footer, .bbp-forum-freshness p.bbp-topic-meta, .bbp-topic-freshness p.bbp-topic-meta, .forums.bbp-replies li.bbp-header, li.bbp-forum-topic-count, .favorite-toggle, .bbp-reply-permalink, .bbp-reply-author div.bbp-author-role, .bbp-reply-author div.bbp-reply-ip, #bbp-user-profile h2.entry-title { display:none !important; }
.bbp-search-form input[type=text] {
width: calc(100% - 6rem);
margin: 0;
}
#bbp_search_submit { margin: 0; }
.bbp-breadcrumb a, span.bbp-breadcrumb-current { padding: .5rem .25rem; }
.bbp-breadcrumb a.bbp-breadcrumb-root { padding: .5rem .25rem .5rem 0; }
/* bbPress-table */
.bbp-forums, .bbp-topics {
display: table;
width: 100%;
padding: 0;
margin: 1rem 0;
border-collapse: collapse;
}
.bbp-header, .bbp-body, .bbp-footer { display: table-row-group; }
.bbp-header .forum-titles, .bbp-body .forum, .bbp-body .topic { display: table-row; }
.bbp-header .forum-titles li, .bbp-body .forum li, .bbp-body .topic li {
display: table-cell;
padding: .5rem;
border-bottom: 1px solid var(--border-color);
}
.bbp-header .forum-titles li {
/*font-weight: bold;*/
font-size: 1rem !important;
padding: .0 .5rem .5rem .5rem;
}
.bbp-forum-permalink, .bbp-topic-permalink { font-size: 1rem; }
p.bbp-forum-meta, .bbp-forum-reply-count, .bbp-forum-freshness, .bbp-forum-content, p.bbp-topic-meta, .bbp-topic-reply-count, .bbp-topic-freshness {
font-size: .8rem;
margin: 0;
}
.bbp-forum-freshness a, .bbp-forum-freshness a:hover, .bbp-topic-freshness a, .bbp-topic-freshness a:hover {
color: var(--txt-color);
text-decoration: none;
cursor: default;
}
@media (max-width: 768px) { li.bbp-forum-reply-count, li.bbp-topic-reply-count { display: none !important; }}
/* end: bbPress-table */
/* Innleggside*/
#subscription-toggle {
/*padding: .5rem .5rem .5rem 0;*/
padding: 0 .5rem 0 0;
margin: 0;
display: inline-block;
}
.favorite-toggle {
/* Sjult */
/*padding: 0 .5rem;
margin: 0;
display: inline-block;*/
}
.forums.bbp-replies {
padding: 0;
margin: 1rem 0 0 0
}
.bbp-reply-post-date { padding: 0 .5rem 0 0; }
.bbp-admin-links a { padding: 0 .25rem; }
.bbp-reply-author {
margin: 1rem 0;
font-size: 1.4rem;
}
.entry-content .forums.bbp-replies { border-top: 1px solid var(--border-color); }
.bbp-body .bbp-reply-header {
/*border-top: 1px solid var(--border-color);*/
padding-top: 2rem;
}
/*.bbp-reply-content p {*/
.bbp-body .bbp-reply-content {
border-bottom: 1px solid var(--border-color);
/*padding-bottom: .5rem;*/
}
/* end: innleggside */
/* Forumbrukar */
div#bbp-user-avatar { display: none; }
.bbp-template-notice {
border: 1px solid var(--border-color);
padding: 1rem;
margin: 1rem 0;
}
.bbp-template-notice ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.bbp-template-notice li { margin: 0; }
#bbp-single-user-details {
display: flex;
flex-direction: column;
margin: .5rem 0;
}
#bbp-user-navigation ul {
list-style-type: none;
padding: 0;
margin: 0;
}
#bbp-user-navigation li { padding: .5rem 0; }
.bbp-user-section h3 {
font-size: 1.8rem;
font-weight: normal !important;
margin: 1rem 0;
}
/* Rediger brukar*/
.bbp-form, #bbp-your-profile fieldset.submit {
border: 1px solid var(--border-color);
padding: 0 1rem;
margin: 1rem 0;
}
.bbp-form legend { display: none; }
.bbp-form div { margin-bottom: 15px; }
.bbp-form label {
display: block;
margin: .5rem 0;
}
.bbp-form input[type="text"], .bbp-form select, .bbp-form input#pass1, .bbp-form input#pass2 {
width: 100%;
padding: 10px;
border: 1px solid var(--border-color);
box-sizing: border-box;
font-size: 1em;
}
.bbp-form input[type="text"]:focus, .bbp-form select:focus, .bbp-form input#pass1:focus, .bbp-form input#pass2:focus {
border-color: var(--border-color);
outline: none;
}
.bbp-form select#display_name { /*appearance: none;*/ }
.bbp-form textarea#description, .bbp-form textarea#bbp_topic_content, .bbp-form textarea#bbp_reply_content {
width: 100%;
height: 8rem;
}
.bbp-form input#user_login {
color: var(--txt-color);
background-color: var(--border-color);
}
.bbp-form button.hide-if-no-js { display: none; }
.bbp-form fieldset.hide-if-js {
border: none;
padding: 0;
margin: 0;
}
.user-pass2-wrap p.description { display: none; }
.pw-weak {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.pw-weak label {
order: 2;
margin: 0 1rem 0 0;
}
.pw-weak input[type="checkbox"] {
order: 1;
margin: 0 1rem 0 0;
}
.pw-weak .description { order: 3; }
.submit button#bbp_user_edit_submit[type=submit], .bbp-submit-wrapper button#bbp_reply_submit[type=submit] {
width: auto;
margin: .5rem 0 1rem 0;
}
#bbp-your-profile fieldset.submit { margin: 1rem 0; }
/* end: rediger brukar */
/* end: forum-brukar */
/* Nytt innlegg */
#new-post .bbp-form { margin: 2rem 0 1rem 0;}
#new-post legend {
display: unset;
font-size: 1.4rem;
}
#wp-bbp_reply_content-editor-container .hide-if-no-js, #wp-bbp_topic_content-editor-container .hide-if-no-js { display: none; }
.bbp-submit-wrapper button#bbp_reply_submit[type=submit], .bbp-submit-wrapper button#bbp_topic_submit[type=submit] { margin: .5rem 0}
.bbp-form br { display:none; }
/* end: nytt innlegg */
/* end: bbPress */