dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit ccf8622cf370520541cafbe6af9378adf8ff0096
parent 2b3789ba276f44ee7c19dce9fe23b2c6c9387a7b
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Fri, 13 Jan 2023 00:24:21 -0800

cleanup css

Diffstat:
Mpkg/web/public/css/style.css | 6++++++
Mpkg/web/public/views/pages/age.gohtml | 9---------
Mpkg/web/public/views/pages/age_code.gohtml | 9---------
Mpkg/web/public/views/pages/pgp.gohtml | 9---------
Mpkg/web/public/views/pages/pgp_code.gohtml | 9---------
Mpkg/web/public/views/pages/public-profile.gohtml | 4----
Mpkg/web/public/views/pages/sessions-gpg-sign-two-factor.gohtml | 9---------
Mpkg/web/public/views/pages/sessions-gpg-two-factor.gohtml | 9---------
Mpkg/web/public/views/pages/settings/age.gohtml | 9---------
Mpkg/web/public/views/pages/settings/pgp.gohtml | 9---------
Mpkg/web/public/views/pages/settings/private-notes.gohtml | 9---------
Mpkg/web/public/views/pages/settings/public-notes.gohtml | 9---------
12 files changed, 6 insertions(+), 94 deletions(-)

diff --git a/pkg/web/public/css/style.css b/pkg/web/public/css/style.css @@ -142,3 +142,8 @@ textarea.transparent-input { } .mono { font-family: SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace; } + +textarea { + white-space: pre; + overflow-wrap: normal; +} +\ No newline at end of file diff --git a/pkg/web/public/views/pages/age.gohtml b/pkg/web/public/views/pages/age.gohtml @@ -1,12 +1,3 @@ -{{ define "extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "navbar" }}&nbsp;{{ end }} {{ define "content" }} diff --git a/pkg/web/public/views/pages/age_code.gohtml b/pkg/web/public/views/pages/age_code.gohtml @@ -1,12 +1,3 @@ -{{ define "extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "navbar" }}&nbsp;{{ end }} {{ define "content" }} diff --git a/pkg/web/public/views/pages/pgp.gohtml b/pkg/web/public/views/pages/pgp.gohtml @@ -1,12 +1,3 @@ -{{ define "extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "navbar" }}&nbsp;{{ end }} {{ define "content" }} diff --git a/pkg/web/public/views/pages/pgp_code.gohtml b/pkg/web/public/views/pages/pgp_code.gohtml @@ -1,12 +1,3 @@ -{{ define "extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "navbar" }}&nbsp;{{ end }} {{ define "content" }} diff --git a/pkg/web/public/views/pages/public-profile.gohtml b/pkg/web/public/views/pages/public-profile.gohtml @@ -1,9 +1,5 @@ {{ define "extra-head" }} <style> - textarea { - white-space: pre; - overflow-wrap: normal; - } table td { padding-right: 10px; } diff --git a/pkg/web/public/views/pages/sessions-gpg-sign-two-factor.gohtml b/pkg/web/public/views/pages/sessions-gpg-sign-two-factor.gohtml @@ -1,12 +1,3 @@ -{{ define "extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "content" }} <div class="container"> <div class="row"> diff --git a/pkg/web/public/views/pages/sessions-gpg-two-factor.gohtml b/pkg/web/public/views/pages/sessions-gpg-two-factor.gohtml @@ -1,12 +1,3 @@ -{{ define "extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "content" }} <div class="container"> <div class="row"> diff --git a/pkg/web/public/views/pages/settings/age.gohtml b/pkg/web/public/views/pages/settings/age.gohtml @@ -1,12 +1,3 @@ -{{ define "sub-extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "sub-content" }} <div class="card mb-3"> diff --git a/pkg/web/public/views/pages/settings/pgp.gohtml b/pkg/web/public/views/pages/settings/pgp.gohtml @@ -1,12 +1,3 @@ -{{ define "sub-extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "sub-content" }} <div class="card mb-3"> diff --git a/pkg/web/public/views/pages/settings/private-notes.gohtml b/pkg/web/public/views/pages/settings/private-notes.gohtml @@ -1,12 +1,3 @@ -{{ define "sub-extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "sub-content" }} <ul class="nav nav-tabs mb-3"> diff --git a/pkg/web/public/views/pages/settings/public-notes.gohtml b/pkg/web/public/views/pages/settings/public-notes.gohtml @@ -1,12 +1,3 @@ -{{ define "sub-extra-head" }} -<style> - textarea { - white-space: pre; - overflow-wrap: normal; - } -</style> -{{ end }} - {{ define "sub-content" }} <ul class="nav nav-tabs mb-3">