style: Replace inline styles with Tailwind CSS utility classes
This commit is contained in:
1 parent
7dff103590
commit
749c3b0eca
1 file changed
+51
-69
+51
-69
@@ -5,24 +5,6 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Behind the Desk</title>
|
||||
<link href="/src/styles.css" rel="stylesheet">
|
||||
<style>
|
||||
/* Inline style to make feed more compact */
|
||||
.post-list article {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.post-list .mb-2 {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.post-list p.mt-0 {
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.post-list .mt-0.5 {
|
||||
margin-top: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="font-sans text-text-default pt-navbar-height">
|
||||
<nav class="fixed top-0 left-0 right-0 bg-navbar-bg border-b border-navbar-border z-10" role="navigation" aria-label="main navigation">
|
||||
@@ -75,9 +57,9 @@
|
||||
<p><strong>Quick Tips:</strong> Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!</p>
|
||||
</div>
|
||||
|
||||
<div class="post-list">
|
||||
<div class="post-list space-y-2">
|
||||
<!-- Post 1 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">1.</span>
|
||||
@@ -85,7 +67,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">[Ask] The saga of the disappearing ergonomic chair continues.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -99,7 +81,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 2 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">2.</span>
|
||||
@@ -107,7 +89,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Found the perfect focus playlist.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -121,7 +103,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 3 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">3.</span>
|
||||
@@ -129,7 +111,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Overheard near the coffee machine...</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -143,7 +125,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 4 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">4.</span>
|
||||
@@ -151,7 +133,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">My standing desk setup 📸</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -165,7 +147,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 5 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">5.</span>
|
||||
@@ -173,7 +155,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best coffee shops in town.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -187,7 +169,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 6 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">6.</span>
|
||||
@@ -195,7 +177,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">How to stay productive while working from home.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -209,7 +191,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 7 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">7.</span>
|
||||
@@ -217,7 +199,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The art of desk organization.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -231,7 +213,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 8 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">8.</span>
|
||||
@@ -239,7 +221,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best ergonomic accessories for your desk.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -253,7 +235,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 9 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">9.</span>
|
||||
@@ -261,7 +243,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best books for productivity.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -275,7 +257,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 10 -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">10.</span>
|
||||
@@ -283,7 +265,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best tools for remote work.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -297,7 +279,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 11 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">11.</span>
|
||||
@@ -305,7 +287,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Office plants that actually survive neglect.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -319,7 +301,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 12 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">12.</span>
|
||||
@@ -327,7 +309,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">My boss just caught me napping at my desk. Help!</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -341,7 +323,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 13 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">13.</span>
|
||||
@@ -349,7 +331,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The keyboard shortcuts you didn't know you needed.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -363,7 +345,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 14 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">14.</span>
|
||||
@@ -371,7 +353,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Did anyone else's office remove the free snacks?</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -385,7 +367,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 15 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">15.</span>
|
||||
@@ -393,7 +375,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Desk drawer organization ideas?</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -407,7 +389,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 16 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">16.</span>
|
||||
@@ -415,7 +397,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Show: I built a desk from reclaimed wood.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -429,7 +411,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 17 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">17.</span>
|
||||
@@ -437,7 +419,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">How to deal with loud office neighbors?</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -451,7 +433,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 18 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">18.</span>
|
||||
@@ -459,7 +441,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Best desk phone stands that actually work.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -473,7 +455,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 19 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">19.</span>
|
||||
@@ -481,7 +463,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Our company just banned desk personalization. What?!</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -495,7 +477,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 20 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">20.</span>
|
||||
@@ -503,7 +485,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The science behind optimal desk lighting.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -517,7 +499,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 21 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">21.</span>
|
||||
@@ -525,7 +507,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Found a mysterious note in my desk drawer. Should I be concerned?</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -539,7 +521,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 22 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">22.</span>
|
||||
@@ -547,7 +529,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best way to manage cables under your desk.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -561,7 +543,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 23 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">23.</span>
|
||||
@@ -569,7 +551,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Office lunch etiquette - am I the only one who cares?</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -583,7 +565,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 24 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">24.</span>
|
||||
@@ -591,7 +573,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Minimalist desk accessories that actually improve productivity.</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
@@ -605,7 +587,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Post 25 - NEW -->
|
||||
<div class="mb-2">
|
||||
<div class="mb-1">
|
||||
<article class="flex">
|
||||
<div class="flex items-start mt-1 mr-2">
|
||||
<span class="text-text-muted text-sm mr-1">25.</span>
|
||||
@@ -613,7 +595,7 @@
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p class="mt-0">
|
||||
<p class="mt-0 mb-0.5">
|
||||
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Is it weird to bring your own chair to the office?</a></strong>
|
||||
</p>
|
||||
<!-- Post title header -->
|
||||
|
||||
Reference in new issue
Block a user