Update the base font size for event pages

This commit is contained in:
dtonon
2025-03-31 13:21:04 +02:00
parent 68dbe860f4
commit a21743a451
7 changed files with 7 additions and 7 deletions

View File

@@ -5,7 +5,7 @@ templ embeddedPageTemplate(
NeventNaked string,
) {
<!DOCTYPE html>
<html class="theme--default text-lg font-light print:text-base sm:text-xl">
<html class="theme--default font-light print:text-base">
<meta charset="UTF-8"/>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

View File

@@ -2,7 +2,7 @@ package main
templ embeddedProfileTemplate(params ProfilePageParams) {
<!DOCTYPE html>
<html class="theme--default text-lg font-light print:text-base sm:text-xl">
<html class="theme--default font-light print:text-base">
<meta charset="UTF-8"/>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>

View File

@@ -37,7 +37,7 @@ func (e *ErrorPageParams) MessageHTML() template.HTML {
templ errorTemplate(params ErrorPageParams) {
<!DOCTYPE html>
<html class="theme--default text-lg font-light print:text-base sm:text-xl">
<html class="theme--default font-light print:text-base">
<meta charset="UTF-8"/>
<head>
<title>Error</title>

View File

@@ -8,7 +8,7 @@ templ eventPageTemplate(
details DetailsParams,
event EnhancedEvent,
) {
<html class="theme--default text-lg font-light print:text-base sm:text-xl">
<html class="theme--default font-light print:text-base">
<meta charset="UTF-8"/>
<head>
<title>{ title }</title>

View File

@@ -13,7 +13,7 @@ type OtherPageParams struct {
templ otherTemplate(params OtherPageParams) {
<!DOCTYPE html>
<html class="theme--default text-lg font-light print:text-base sm:text-xl">
<html class="theme--default font-light print:text-base">
<meta charset="UTF-8"/>
<head>
<title>Nostr Event { strconv.Itoa(params.Kind) } - { params.KindDescription }</title>

View File

@@ -28,7 +28,7 @@ type ProfilePageParams struct {
templ profileTemplate(params ProfilePageParams) {
<!DOCTYPE html>
<html class="theme--default text-lg font-light print:text-base sm:text-xl">
<html class="theme--default font-light print:text-base">
<meta charset="UTF-8"/>
<head>
if params.Metadata.Name != "" && params.Metadata.DisplayName != "" {

View File

@@ -15,7 +15,7 @@ type RelayPageParams struct {
templ relayTemplate(params RelayPageParams) {
<!DOCTYPE html>
<html class="theme--default text-lg font-light print:text-base sm:text-xl">
<html class="theme--default font-light print:text-base">
<meta charset="UTF-8"/>
<head>
<title>Nostr Relay { params.Hostname } - { params.Info.Name }</title>