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, NeventNaked string,
) { ) {
<!DOCTYPE html> <!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"/> <meta charset="UTF-8"/>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

View File

@@ -2,7 +2,7 @@ package main
templ embeddedProfileTemplate(params ProfilePageParams) { templ embeddedProfileTemplate(params ProfilePageParams) {
<!DOCTYPE html> <!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"/> <meta charset="UTF-8"/>
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <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) { templ errorTemplate(params ErrorPageParams) {
<!DOCTYPE html> <!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"/> <meta charset="UTF-8"/>
<head> <head>
<title>Error</title> <title>Error</title>

View File

@@ -8,7 +8,7 @@ templ eventPageTemplate(
details DetailsParams, details DetailsParams,
event EnhancedEvent, 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"/> <meta charset="UTF-8"/>
<head> <head>
<title>{ title }</title> <title>{ title }</title>

View File

@@ -13,7 +13,7 @@ type OtherPageParams struct {
templ otherTemplate(params OtherPageParams) { templ otherTemplate(params OtherPageParams) {
<!DOCTYPE html> <!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"/> <meta charset="UTF-8"/>
<head> <head>
<title>Nostr Event { strconv.Itoa(params.Kind) } - { params.KindDescription }</title> <title>Nostr Event { strconv.Itoa(params.Kind) } - { params.KindDescription }</title>

View File

@@ -28,7 +28,7 @@ type ProfilePageParams struct {
templ profileTemplate(params ProfilePageParams) { templ profileTemplate(params ProfilePageParams) {
<!DOCTYPE html> <!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"/> <meta charset="UTF-8"/>
<head> <head>
if params.Metadata.Name != "" && params.Metadata.DisplayName != "" { if params.Metadata.Name != "" && params.Metadata.DisplayName != "" {

View File

@@ -15,7 +15,7 @@ type RelayPageParams struct {
templ relayTemplate(params RelayPageParams) { templ relayTemplate(params RelayPageParams) {
<!DOCTYPE html> <!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"/> <meta charset="UTF-8"/>
<head> <head>
<title>Nostr Relay { params.Hostname } - { params.Info.Name }</title> <title>Nostr Relay { params.Hostname } - { params.Info.Name }</title>