style: Align comment box and submit button styles with login.html
This commit is contained in:
1 parent
09a97d0037
commit
3ca87ed654
1 file changed
+59
-4
+59
-4
@@ -6,6 +6,60 @@
|
|||||||
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css">
|
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<title>Post - Behind the Desk</title>
|
<title>Post - Behind the Desk</title>
|
||||||
|
<style>
|
||||||
|
/* Add specific styles for single-post page if needed */
|
||||||
|
.single-post-container {
|
||||||
|
max-width: 450px; /* Increased width for longer fields */
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
.single-post-container h2 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
color: #38315f; /* Updated text color */
|
||||||
|
}
|
||||||
|
.single-post-container .field {
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
}
|
||||||
|
.single-post-container .label {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
font-weight: normal;
|
||||||
|
color: #38315f; /* Updated text color */
|
||||||
|
margin-bottom: 0.25rem;
|
||||||
|
display: inline-block; /* HN style labels */
|
||||||
|
width: 100px; /* Align inputs */
|
||||||
|
}
|
||||||
|
.single-post-container .input,
|
||||||
|
.single-post-container .textarea,
|
||||||
|
.single-post-container .select select {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
max-width: 250px; /* Increased max-width for longer fields */
|
||||||
|
display: inline-block; /* Align with label */
|
||||||
|
width: calc(100% - 110px); /* Adjust width */
|
||||||
|
background-color: #ffffff; /* Ensure white background */
|
||||||
|
color: #363636; /* Default input text color */
|
||||||
|
border: 1px solid #dbdbdb; /* Standard Bulma border */
|
||||||
|
}
|
||||||
|
.single-post-container .input:focus,
|
||||||
|
.single-post-container .textarea:focus,
|
||||||
|
.single-post-container .select select:focus {
|
||||||
|
border-color: #38315f; /* Highlight focus */
|
||||||
|
box-shadow: 0 0 0 0.125em rgba(56, 49, 95, 0.25);
|
||||||
|
}
|
||||||
|
.single-post-container .button.is-primary { /* Target the specific button */
|
||||||
|
font-size: 0.9rem;
|
||||||
|
margin-left: 100px; /* Align button with inputs */
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
background-color: #38315f; /* Updated button color */
|
||||||
|
color: #ffffff; /* White text for contrast */
|
||||||
|
border-color: transparent; /* Remove default border */
|
||||||
|
}
|
||||||
|
.single-post-container .button.is-primary:hover {
|
||||||
|
background-color: #2d274a; /* Slightly darker on hover */
|
||||||
|
}
|
||||||
|
.single-post-container .select {
|
||||||
|
margin-left: auto; /* Align dropdown to the right */
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
|
||||||
@@ -55,7 +109,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="section main-content">
|
<main class="section main-content">
|
||||||
<div class="container">
|
<div class="container single-post-container">
|
||||||
<article class="media">
|
<article class="media">
|
||||||
<div class="media-content">
|
<div class="media-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -63,10 +117,10 @@
|
|||||||
<strong><a href="#" class="post-title">The saga of the disappearing ergonomic chair continues.</a></strong>
|
<strong><a href="#" class="post-title">The saga of the disappearing ergonomic chair continues.</a></strong>
|
||||||
</p>
|
</p>
|
||||||
<p class="quick-action">
|
<p class="quick-action">
|
||||||
|
<a href="#">next</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<small class="handle">@deskdetective</small> | <small class="time">1h ago</small> | <small class="handle"><a href="#">next</a></small>
|
<small class="handle">@deskdetective</small> | <small class="time">1h ago</small>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The saga of the disappearing ergonomic chair continues. Every time I leave my desk, it seems to vanish into thin air. I've started to suspect my colleagues are playing a prank on me. Has anyone else experienced this?
|
The saga of the disappearing ergonomic chair continues. Every time I leave my desk, it seems to vanish into thin air. I've started to suspect my colleagues are playing a prank on me. Has anyone else experienced this?
|
||||||
@@ -79,8 +133,9 @@
|
|||||||
<h3>Add a Comment</h3>
|
<h3>Add a Comment</h3>
|
||||||
<form>
|
<form>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
<label class="label" for="comment-body">Comment:</label>
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<textarea class="textarea" placeholder="Enter your comment"></textarea>
|
<textarea class="textarea" id="comment-body" name="body" placeholder="Enter your comment" required></textarea>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
|
|||||||
Reference in new issue
Block a user