Use tailwind css for the single-post page, removed bulma css
This commit is contained in:
1 parent
04a2bfd938
commit
a07816ae5c
1 file changed
+304
-250
+304
-250
@@ -1,277 +1,331 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="en" class="bg-bg-light">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<title>Post - Behind the Desk</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Post - Behind the Desk</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
'primary': '#38315f',
|
||||
'primary-dark': '#2c264a',
|
||||
'bg-light': '#f8f9fa',
|
||||
'text-default': '#343a40',
|
||||
'text-title': '#212529',
|
||||
'text-muted': '#6c757d',
|
||||
'border-light': '#dee2e6',
|
||||
'link-hover': '#ff6600',
|
||||
'rules-bg': '#eef6f6',
|
||||
'navbar-bg': '#e5fa70',
|
||||
'navbar-border': '#cddb60'
|
||||
},
|
||||
spacing: {
|
||||
'navbar-height': '3.25rem'
|
||||
}
|
||||
},
|
||||
fontFamily: {
|
||||
'sans': ['-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'Roboto', 'Helvetica', 'Arial', 'sans-serif', '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"']
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
||||
<div class="container">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item has-text-weight-bold" href="/">Behind the Desk</a>
|
||||
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
|
||||
<span aria-hidden="true"></span><span aria-hidden="true"></span><span aria-hidden="true"></span>
|
||||
</a>
|
||||
</div>
|
||||
<div id="navbarBasicExample" class="navbar-menu">
|
||||
<div class="navbar-start">
|
||||
<a class="navbar-item" href="/">top 🔥</a>
|
||||
<a class="navbar-item" href="#">new</a>
|
||||
<a class="navbar-item" href="#">nearby</a>
|
||||
<a class="navbar-item" href="#">past</a>
|
||||
<a class="navbar-item" href="#">ask</a>
|
||||
<a class="navbar-item" href="#">show</a>
|
||||
<a class="navbar-item" href="#">submit</a>
|
||||
</div>
|
||||
<div class="navbar-end">
|
||||
<div class="navbar-item">
|
||||
<a href="/login.html">login</a>
|
||||
<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">
|
||||
<div class="max-w-screen-lg mx-auto px-4">
|
||||
<div class="flex justify-between">
|
||||
<div class="flex">
|
||||
<a class="py-4 px-3 font-bold text-primary" href="/">Behind the Desk</a>
|
||||
<div class="hidden md:flex">
|
||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
|
||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
|
||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<div class="py-4 px-3">
|
||||
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md:hidden flex items-center">
|
||||
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
|
||||
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="mobileMenu" class="hidden md:hidden">
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="section main-content">
|
||||
<div class="container single-post-container">
|
||||
<article class="media">
|
||||
<div class="media-left">
|
||||
<a href="#" class="upvote-arrow" title="Upvote">▲</a>
|
||||
</div>
|
||||
<div class="media-content">
|
||||
<div class="content">
|
||||
<p>
|
||||
<strong><a href="#" class="post-title">[Ask] The saga of the disappearing ergonomic chair continues. ✏️</a></strong>
|
||||
</p>
|
||||
|
||||
<!-- Moved post-title-header below the title -->
|
||||
<div class="post-title-header">
|
||||
<small class="handle">@deskdetective</small> <small class="time">1h ago</small>
|
||||
<a href="#" class="nav-link">report</a> <a href="#" class="nav-link">next</a>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
Every time I leave my desk, it seems to vanish. Suspecting foul play at this point. Anyone else faced something like this?
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<div class="comment-section">
|
||||
<form>
|
||||
<div class="field">
|
||||
<label class="label" for="comment-body">Comment:</label>
|
||||
<div class="control">
|
||||
<textarea class="textarea" id="comment-body" name="body" placeholder="Enter your comment" required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="field">
|
||||
<div class="control">
|
||||
<button class="button is-primary" type="submit">Add Comment</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<h3 class="mt-4">Comments</h3>
|
||||
|
||||
<div class="comments-list">
|
||||
<!-- Main Comment -->
|
||||
<div class="comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@commenter1</small> <small class="time">2h ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>Haha, this totally happened to me last year. We had a phantom chair thief at work and it became an ongoing office joke for months!</p>
|
||||
</div>
|
||||
|
||||
<!-- Nested Comment -->
|
||||
<div class="nested-comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@nestedcommenter1</small> <small class="time">1h ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>Did they ever catch who it was? 😂 I'd totally set up a hidden camera if it kept happening that much.</p>
|
||||
<main class="py-4 pb-16">
|
||||
<div class="max-w-xl mx-auto px-4 mt-8">
|
||||
<article class="flex">
|
||||
<div class="mr-2">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a>
|
||||
</div>
|
||||
<div class="flex-1 text-left">
|
||||
<div>
|
||||
<p>
|
||||
<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>
|
||||
|
||||
<!-- Example Reply Box -->
|
||||
<div class="reply-box">
|
||||
<textarea class="textarea" placeholder="Reply to this comment..."></textarea>
|
||||
<button class="button is-small is-primary">Reply</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Another Comment -->
|
||||
<div class="comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@commenter2</small> <small class="time">3h ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>At my old job, chairs were so bad people would "borrow" a good one whenever someone went on vacation. A real survival of the fittest situation!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Third Comment -->
|
||||
<div class="comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@commenter3</small> <small class="time">5h ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>I recommend putting a bright sticker with your name on the chair. Makes it harder for people to pretend they didn't know it wasn't theirs.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Main Comment -->
|
||||
<div class="comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@commenter1</small> <small class="time">2h ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>Haha, this totally happened to me last year. It was hilarious and annoying at the same time.</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 1 Nested Comment -->
|
||||
<div class="nested-comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@nested1</small> <small class="time">1h 50m ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>Honestly, office pranks can either build great vibes or cause chaos if not handled well 😂</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 2 Nested Comment -->
|
||||
<div class="nested-comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@nested2</small> <small class="time">1h 40m ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>Yeah, in our team it turned into an inside joke that lasted months. No HR complaints thankfully!</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 3 Nested Comment -->
|
||||
<div class="nested-comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@nested3</small> <small class="time">1h 30m ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>Ours got so bad management had to install chair locks (yes, seriously!).</p>
|
||||
</div>
|
||||
|
||||
<!-- Example Reply Box -->
|
||||
<div class="reply-box">
|
||||
<textarea class="textarea" placeholder="Reply to this comment..."></textarea>
|
||||
<button class="button is-small is-primary">Reply</button>
|
||||
</div>
|
||||
|
||||
<!-- Level 4 Nested Comment -->
|
||||
<div class="nested-comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@nested4</small> <small class="time">1h 20m ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>😂 Chair locks?! That's next level commitment to stopping thefts.</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 5 Nested Comment -->
|
||||
<div class="nested-comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@nested5</small> <small class="time">1h 10m ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>I would LOVE to see the memo that went out announcing chair locks to employees 😆</p>
|
||||
<!-- Post title header -->
|
||||
<div class="mt-0.5 mb-2 text-sm">
|
||||
<small class="text-text-muted ml-2 text-base">@deskdetective</small>
|
||||
<small class="text-text-muted ml-2 text-base">1h ago</small>
|
||||
<a href="#" class="ml-2 text-sm text-primary hover:underline">report</a>
|
||||
<a href="#" class="ml-2 text-sm text-primary hover:underline">next</a>
|
||||
</div>
|
||||
|
||||
<!-- Level 6 Nested Comment -->
|
||||
<div class="nested-comment">
|
||||
<div class="comment-header">
|
||||
<a href="#" class="upvote-arrow">▲</a>
|
||||
<small class="handle">@nested6</small> <small class="time">1h 5m ago</small>
|
||||
<a href="#" class="nav-link">parent</a> <a href="#" class="nav-link">next</a>
|
||||
<small class="reply">reply</small>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
<p>Imagine coming into work one day and finding your chair padlocked to the floor 😅</p>
|
||||
</div>
|
||||
<p>
|
||||
Every time I leave my desk, it seems to vanish. Suspecting foul play at this point. Anyone else faced something like this?
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<div class="mt-8">
|
||||
<form>
|
||||
<div class="mb-4">
|
||||
<label class="block font-medium text-sm mb-1" for="comment-body">Comment:</label>
|
||||
<div>
|
||||
<textarea class="w-full px-3 py-2 bg-bg-light border border-gray-300 rounded" id="comment-body" name="body" placeholder="Enter your comment" required></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button class="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark" type="submit">Add Comment</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<h3 class="mt-4 text-lg font-medium">Comments</h3>
|
||||
|
||||
<div class="mt-4">
|
||||
<!-- Main Comment -->
|
||||
<div class="mt-6 px-0 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@commenter1</small>
|
||||
<small class="text-text-muted ml-2 text-sm">2h ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">Haha, this totally happened to me last year. We had a phantom chair thief at work and it became an ongoing office joke for months!</p>
|
||||
</div>
|
||||
|
||||
</div> <!-- Level 5 -->
|
||||
</div> <!-- Level 4 -->
|
||||
</div> <!-- Level 3 -->
|
||||
</div> <!-- Level 2 -->
|
||||
</div> <!-- Level 1 -->
|
||||
<!-- Nested Comment -->
|
||||
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@nestedcommenter1</small>
|
||||
<small class="text-text-muted ml-2 text-sm">1h ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">Did they ever catch who it was? 😂 I'd totally set up a hidden camera if it kept happening that much.</p>
|
||||
</div>
|
||||
|
||||
</div> <!-- Main Comment -->
|
||||
<!-- Reply Box -->
|
||||
<div class="ml-8 mt-4">
|
||||
<textarea class="w-full px-3 py-2 bg-bg-light border border-gray-300 rounded text-sm mb-2" placeholder="Reply to this comment..."></textarea>
|
||||
<button class="px-3 py-1 text-xs bg-primary text-white rounded hover:bg-primary-dark">Reply</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- Another Comment -->
|
||||
<div class="mt-6 px-0 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@commenter2</small>
|
||||
<small class="text-text-muted ml-2 text-sm">3h ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">At my old job, chairs were so bad people would "borrow" a good one whenever someone went on vacation. A real survival of the fittest situation!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Third Comment -->
|
||||
<div class="mt-6 px-0 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@commenter3</small>
|
||||
<small class="text-text-muted ml-2 text-sm">5h ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">I recommend putting a bright sticker with your name on the chair. Makes it harder for people to pretend they didn't know it wasn't theirs.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Main Comment with Deeply Nested Replies -->
|
||||
<div class="mt-6 px-0 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@commenter1</small>
|
||||
<small class="text-text-muted ml-2 text-sm">2h ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">Haha, this totally happened to me last year. It was hilarious and annoying at the same time.</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 1 Nested Comment -->
|
||||
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@nested1</small>
|
||||
<small class="text-text-muted ml-2 text-sm">1h 50m ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">Honestly, office pranks can either build great vibes or cause chaos if not handled well 😂</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 2 Nested Comment -->
|
||||
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@nested2</small>
|
||||
<small class="text-text-muted ml-2 text-sm">1h 40m ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">Yeah, in our team it turned into an inside joke that lasted months. No HR complaints thankfully!</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 3 Nested Comment -->
|
||||
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@nested3</small>
|
||||
<small class="text-text-muted ml-2 text-sm">1h 30m ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">Ours got so bad management had to install chair locks (yes, seriously!).</p>
|
||||
</div>
|
||||
|
||||
<!-- Reply Box -->
|
||||
<div class="ml-8 mt-4">
|
||||
<textarea class="w-full px-3 py-2 bg-bg-light border border-gray-300 rounded text-sm mb-2" placeholder="Reply to this comment..."></textarea>
|
||||
<button class="px-3 py-1 text-xs bg-primary text-white rounded hover:bg-primary-dark">Reply</button>
|
||||
</div>
|
||||
|
||||
<!-- Level 4 Nested Comment -->
|
||||
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@nested4</small>
|
||||
<small class="text-text-muted ml-2 text-sm">1h 20m ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">😂 Chair locks?! That's next level commitment to stopping thefts.</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 5 Nested Comment -->
|
||||
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@nested5</small>
|
||||
<small class="text-text-muted ml-2 text-sm">1h 10m ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">I would LOVE to see the memo that went out announcing chair locks to employees 😆</p>
|
||||
</div>
|
||||
|
||||
<!-- Level 6 Nested Comment -->
|
||||
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm">
|
||||
<div class="mb-1">
|
||||
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
|
||||
<small class="text-text-muted ml-2 text-sm">@nested6</small>
|
||||
<small class="text-text-muted ml-2 text-sm">1h 5m ago</small>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">parent</a>
|
||||
<a href="#" class="ml-2 text-xs text-primary hover:underline">next</a>
|
||||
<small class="underline text-xs cursor-pointer ml-2 inline-block">reply</small>
|
||||
</div>
|
||||
<div>
|
||||
<p class="mb-2">Imagine coming into work one day and finding your chair padlocked to the floor 😅</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="content has-text-centered">
|
||||
<p>
|
||||
Seen something today? Don’t let it go to waste. <a href="#">Submit it</a>.
|
||||
</p>
|
||||
<div class="footer-menu">
|
||||
<a href="#">Guidelines</a> |
|
||||
<a href="#">Tips</a> |
|
||||
<a href="#">Privacy</a> |
|
||||
<a href="#">DMCA</a>
|
||||
<footer class="bg-gray-200 py-8 px-6 text-text-muted">
|
||||
<div class="text-center">
|
||||
<p>
|
||||
Seen something today? Don't let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>.
|
||||
</p>
|
||||
<div class="mt-4 text-sm">
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Guidelines</a> |
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Tips</a> |
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Privacy</a> |
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">DMCA</a>
|
||||
</div>
|
||||
<div class="mt-4 text-center">
|
||||
<input type="text" placeholder="Search..." class="px-3 py-2 border border-gray-300 rounded w-48">
|
||||
</div>
|
||||
</div>
|
||||
<div class="search-box">
|
||||
<input type="text" placeholder="Search...">
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
|
||||
if ($navbarBurgers.length > 0) {
|
||||
$navbarBurgers.forEach(el => {
|
||||
el.addEventListener('click', () => {
|
||||
const target = el.dataset.target;
|
||||
const $target = document.getElementById(target);
|
||||
el.classList.toggle('is-active');
|
||||
$target.classList.toggle('is-active');
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const menuButton = document.getElementById('menuButton');
|
||||
const mobileMenu = document.getElementById('mobileMenu');
|
||||
|
||||
menuButton.addEventListener('click', () => {
|
||||
mobileMenu.classList.toggle('hidden');
|
||||
const expanded = menuButton.getAttribute('aria-expanded') === 'true';
|
||||
menuButton.setAttribute('aria-expanded', !expanded);
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user