style: Reduce font sizes in account settings for better UI
This commit is contained in:
1 parent
33d5d4e580
commit
846f6eadd5
1 file changed
+8
-8
@@ -36,7 +36,7 @@
|
|||||||
<div id="tab-profile" class="block [&:not(:target)]:hidden [&:not(:target):not(:has(~:target))]:block space-y-6">
|
<div id="tab-profile" class="block [&:not(:target)]:hidden [&:not(:target):not(:has(~:target))]:block space-y-6">
|
||||||
<!-- User Header -->
|
<!-- User Header -->
|
||||||
<div class="mb-6 pb-4 border-b border-gray-200">
|
<div class="mb-6 pb-4 border-b border-gray-200">
|
||||||
<h1 class="text-3xl font-bold text-text-title mb-1">{{ page.username }}</h1>
|
<h1 class="text-base font-bold text-text-title mb-1">{{ page.username }}</h1>
|
||||||
<p class="text-sm text-text-muted">
|
<p class="text-sm text-text-muted">
|
||||||
Joined: {{ page.created }} | Merits: {{ page.merits }}
|
Joined: {{ page.created }} | Merits: {{ page.merits }}
|
||||||
</p>
|
</p>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
<div class="p-4 rounded-md">
|
<div class="p-4 rounded-md">
|
||||||
<label for="about" class="block text-sm font-medium text-primary mb-1">About</label>
|
<label for="about" class="block text-sm font-medium text-primary mb-1">About</label>
|
||||||
<div class="flex items-start">
|
<div class="flex items-start">
|
||||||
<textarea id="about" name="about" rows="5" class="flex-grow text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">{{ page.about }}</textarea>
|
<textarea id="about" name="about" rows="5" class="flex-grow text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">{{ page.about }}</textarea>
|
||||||
<a href="/formatdoc" tabindex="-1" class="ml-2 mt-1 text-xs text-primary hover:underline flex-shrink-0">help</a>
|
<a href="/formatdoc" tabindex="-1" class="ml-2 mt-1 text-xs text-primary hover:underline flex-shrink-0">help</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
<!-- Email -->
|
<!-- Email -->
|
||||||
<div class="p-4 rounded-md">
|
<div class="p-4 rounded-md">
|
||||||
<label for="email" class="block text-sm font-medium text-primary mb-1">Email</label>
|
<label for="email" class="block text-sm font-medium text-primary mb-1">Email</label>
|
||||||
<input type="email" id="email" name="email" value="{{ page.email }}" class="w-full text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
<input type="email" id="email" name="email" value="{{ page.email }}" class="w-full text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
||||||
<p class="mt-1 text-xs text-text-muted">Only admins see your email. To share publicly, add to the 'about' box.</p>
|
<p class="mt-1 text-xs text-text-muted">Only admins see your email. To share publicly, add to the 'about' box.</p>
|
||||||
</div>
|
</div>
|
||||||
</div> <!-- End of tab-profile -->
|
</div> <!-- End of tab-profile -->
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
<!-- showdead -->
|
<!-- showdead -->
|
||||||
<div>
|
<div>
|
||||||
<label for="showdead" class="block text-sm font-medium text-primary mb-1">Show Dead?</label>
|
<label for="showdead" class="block text-sm font-medium text-primary mb-1">Show Dead?</label>
|
||||||
<select id="showdead" name="showd" class="w-full text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out appearance-none">
|
<select id="showdead" name="showd" class="w-full text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out appearance-none">
|
||||||
<option value="yes" {% if page.showdead == "yes" %}selected{% endif %}>Yes</option>
|
<option value="yes" {% if page.showdead == "yes" %}selected{% endif %}>Yes</option>
|
||||||
<option value="no" {% if page.showdead == "no" %}selected{% endif %}>No</option>
|
<option value="no" {% if page.showdead == "no" %}selected{% endif %}>No</option>
|
||||||
</select>
|
</select>
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
<!-- noprocrast -->
|
<!-- noprocrast -->
|
||||||
<div>
|
<div>
|
||||||
<label for="noprocrast" class="block text-sm font-medium text-primary mb-1">No Procrastinate?</label>
|
<label for="noprocrast" class="block text-sm font-medium text-primary mb-1">No Procrastinate?</label>
|
||||||
<select id="noprocrast" name="nopro" class="w-full text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out appearance-none">
|
<select id="noprocrast" name="nopro" class="w-full text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out appearance-none">
|
||||||
<option value="yes" {% if page.noprocrast == "yes" %}selected{% endif %}>Yes</option>
|
<option value="yes" {% if page.noprocrast == "yes" %}selected{% endif %}>Yes</option>
|
||||||
<option value="no" {% if page.noprocrast == "no" %}selected{% endif %}>No</option>
|
<option value="no" {% if page.noprocrast == "no" %}selected{% endif %}>No</option>
|
||||||
</select>
|
</select>
|
||||||
@@ -89,19 +89,19 @@
|
|||||||
<!-- maxvisit -->
|
<!-- maxvisit -->
|
||||||
<div>
|
<div>
|
||||||
<label for="maxvisit" class="block text-sm font-medium text-primary mb-1">Max Visit (mins)</label>
|
<label for="maxvisit" class="block text-sm font-medium text-primary mb-1">Max Visit (mins)</label>
|
||||||
<input type="number" id="maxvisit" name="maxv" value="{{ page.maxvisit }}" class="w-full text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
<input type="number" id="maxvisit" name="maxv" value="{{ page.maxvisit }}" class="w-full text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
||||||
<p class="mt-1 text-xs text-text-muted">Max time per visit.</p>
|
<p class="mt-1 text-xs text-text-muted">Max time per visit.</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- minaway -->
|
<!-- minaway -->
|
||||||
<div>
|
<div>
|
||||||
<label for="minaway" class="block text-sm font-medium text-primary mb-1">Min Away (mins)</label>
|
<label for="minaway" class="block text-sm font-medium text-primary mb-1">Min Away (mins)</label>
|
||||||
<input type="number" id="minaway" name="mina" value="{{ page.minaway }}" class="w-full text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
<input type="number" id="minaway" name="mina" value="{{ page.minaway }}" class="w-full text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
||||||
<p class="mt-1 text-xs text-text-muted">Required break time.</p>
|
<p class="mt-1 text-xs text-text-muted">Required break time.</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- delay -->
|
<!-- delay -->
|
||||||
<div>
|
<div>
|
||||||
<label for="delay" class="block text-sm font-medium text-primary mb-1">Submit Delay (mins)</label>
|
<label for="delay" class="block text-sm font-medium text-primary mb-1">Submit Delay (mins)</label>
|
||||||
<input type="number" id="delay" name="delay" value="{{ page.delay }}" class="w-full text-primary text-base px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
<input type="number" id="delay" name="delay" value="{{ page.delay }}" class="w-full text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">
|
||||||
<p class="mt-1 text-xs text-text-muted">Delay before submitting.</p>
|
<p class="mt-1 text-xs text-text-muted">Delay before submitting.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user