Moved CSS into style.css
This commit is contained in:
1 parent
e42f7a80b6
commit
16dc22e735
3 files changed
+191
-194
No files matched your search
-68
@@ -6,74 +6,6 @@
|
|||||||
<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>Login / Signup - Behind the Desk</title>
|
<title>Login / Signup - Behind the Desk</title>
|
||||||
<style>
|
|
||||||
/* Add specific styles for login page if needed */
|
|
||||||
.login-container {
|
|
||||||
max-width: 450px; /* Increased width for longer fields */
|
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
|
||||||
.login-container h2 {
|
|
||||||
font-size: 1.2rem;
|
|
||||||
margin-bottom: 1rem;
|
|
||||||
color: #38315f; /* Updated text color */
|
|
||||||
}
|
|
||||||
.login-container .field {
|
|
||||||
margin-bottom: 0.75rem;
|
|
||||||
}
|
|
||||||
.login-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 */
|
|
||||||
}
|
|
||||||
.login-container .input {
|
|
||||||
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 */
|
|
||||||
}
|
|
||||||
.login-container .input:focus {
|
|
||||||
border-color: #38315f; /* Highlight focus */
|
|
||||||
box-shadow: 0 0 0 0.125em rgba(56, 49, 95, 0.25);
|
|
||||||
}
|
|
||||||
.login-container .button.is-link { /* 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 */
|
|
||||||
}
|
|
||||||
.login-container .button.is-link:hover {
|
|
||||||
background-color: #2d274a; /* Slightly darker on hover */
|
|
||||||
}
|
|
||||||
.recaptcha-placeholder {
|
|
||||||
margin-left: 100px; /* Align with inputs */
|
|
||||||
margin-top: 0.75rem;
|
|
||||||
font-size: 0.8rem;
|
|
||||||
color: #6c757d;
|
|
||||||
border: 1px dashed #ccc;
|
|
||||||
padding: 10px;
|
|
||||||
display: inline-block;
|
|
||||||
width: 250px; /* Match input width */
|
|
||||||
text-align: center;
|
|
||||||
background-color: #f5f5f5; /* Light background for placeholder */
|
|
||||||
}
|
|
||||||
.form-section {
|
|
||||||
margin-bottom: 2rem;
|
|
||||||
}
|
|
||||||
.login-container p a {
|
|
||||||
color: #38315f; /* Link color */
|
|
||||||
}
|
|
||||||
.login-container p a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
</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">
|
||||||
|
|||||||
@@ -6,132 +6,6 @@
|
|||||||
<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>
|
|
||||||
.single-post-container {
|
|
||||||
max-width: 600px;
|
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
|
||||||
.comment-section {
|
|
||||||
margin-top: 2rem;
|
|
||||||
}
|
|
||||||
.comment {
|
|
||||||
margin-top: 1.5rem;
|
|
||||||
padding-left: 0;
|
|
||||||
font-size: 0.9rem; /* Smaller text for comments */
|
|
||||||
}
|
|
||||||
.nested-comment {
|
|
||||||
margin-left: 1.5rem;
|
|
||||||
margin-top: 1rem;
|
|
||||||
border-left: 2px solid #ddd;
|
|
||||||
padding-left: 1rem;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
}
|
|
||||||
.comment-header small.reply {
|
|
||||||
text-decoration: underline;
|
|
||||||
font-size: 0.75rem;
|
|
||||||
cursor: pointer;
|
|
||||||
margin-left: 0.5rem;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
.comment-header a.nav-link {
|
|
||||||
font-size: 0.75rem;
|
|
||||||
margin-left: 0.5rem;
|
|
||||||
text-decoration: underline;
|
|
||||||
color: #38315f;
|
|
||||||
}
|
|
||||||
.comment-header a.nav-link:hover {
|
|
||||||
color: #2d274a;
|
|
||||||
}
|
|
||||||
.upvote-arrow {
|
|
||||||
font-size: 0.9rem;
|
|
||||||
margin-right: 0.5rem;
|
|
||||||
color: #6c757d;
|
|
||||||
}
|
|
||||||
.upvote-arrow:hover {
|
|
||||||
color: #ff6600;
|
|
||||||
}
|
|
||||||
.reply-box {
|
|
||||||
margin-left: 2rem;
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
.reply-box textarea {
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
background-color: #f8f9fa;
|
|
||||||
border: 1px solid #dbdbdb;
|
|
||||||
font-size: 0.9rem;
|
|
||||||
}
|
|
||||||
.comments-list {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
.comment-header {
|
|
||||||
margin-bottom: 0.3rem;
|
|
||||||
}
|
|
||||||
.comment-body p {
|
|
||||||
margin-bottom: 0.5rem;
|
|
||||||
}
|
|
||||||
.button.is-primary {
|
|
||||||
background-color: #38315f;
|
|
||||||
border-color: transparent;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.button.is-primary:hover {
|
|
||||||
background-color: #2d274a;
|
|
||||||
}
|
|
||||||
textarea.textarea {
|
|
||||||
background-color: #f8f9fa;
|
|
||||||
border: 1px solid #dbdbdb;
|
|
||||||
color: #363636;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Styling the post title header to appear below the title and closer to it */
|
|
||||||
.post-title-header {
|
|
||||||
font-size: 0.9rem; /* Slightly smaller font size */
|
|
||||||
margin-top: 0.1rem; /* Reduced space between title and header */
|
|
||||||
margin-bottom: 0.5rem; /* Added space below the title header */
|
|
||||||
color: #38315f; /* Regular color */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Style for handle and time (grey color and bigger text) */
|
|
||||||
.post-title-header .handle,
|
|
||||||
.post-title-header .time {
|
|
||||||
font-size: 1rem; /* Increase the font size */
|
|
||||||
color: #6b6b6b; /* Grey color for handle and time */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Make the handle underlined on hover */
|
|
||||||
.post-title-header .handle {
|
|
||||||
text-decoration: none;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-title-header .handle:hover {
|
|
||||||
text-decoration: underline; /* Underline effect on hover */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Style for the navigation links (parent, next) */
|
|
||||||
.post-title-header .nav-link {
|
|
||||||
font-size: 0.875rem; /* Smaller font size for the links */
|
|
||||||
margin-left: 0.5rem;
|
|
||||||
color: #38315f; /* Match the color with other text */
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-title-header .nav-link:hover {
|
|
||||||
color: #2d274a; /* Darker color on hover */
|
|
||||||
text-decoration: underline; /* Underline effect on hover */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Styling for the body text to create more space below the title header */
|
|
||||||
.content p:first-of-type {
|
|
||||||
margin-bottom: 0.0rem; /* Add more space below the title header and before the body */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Ensure post text is aligned to the left */
|
|
||||||
.media-content {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
</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">
|
||||||
|
|||||||
@@ -364,4 +364,195 @@ body.login-signup-page {
|
|||||||
|
|
||||||
.date-link:hover {
|
.date-link:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.single-post-container {
|
||||||
|
max-width: 600px;
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
.comment-section {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
.comment {
|
||||||
|
margin-top: 1.5rem;
|
||||||
|
padding-left: 0;
|
||||||
|
font-size: 0.9rem; /* Smaller text for comments */
|
||||||
|
}
|
||||||
|
.nested-comment {
|
||||||
|
margin-left: 1.5rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
border-left: 2px solid #ddd;
|
||||||
|
padding-left: 1rem;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
.comment-header small.reply {
|
||||||
|
text-decoration: underline;
|
||||||
|
font-size: 0.75rem;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
.comment-header a.nav-link {
|
||||||
|
font-size: 0.75rem;
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
text-decoration: underline;
|
||||||
|
color: #38315f;
|
||||||
|
}
|
||||||
|
.comment-header a.nav-link:hover {
|
||||||
|
color: #2d274a;
|
||||||
|
}
|
||||||
|
.upvote-arrow {
|
||||||
|
font-size: 0.9rem;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
color: #6c757d;
|
||||||
|
}
|
||||||
|
.upvote-arrow:hover {
|
||||||
|
color: #ff6600;
|
||||||
|
}
|
||||||
|
.reply-box {
|
||||||
|
margin-left: 2rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
.reply-box textarea {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
background-color: #f8f9fa;
|
||||||
|
border: 1px solid #dbdbdb;
|
||||||
|
font-size: 0.9rem;
|
||||||
|
}
|
||||||
|
.comments-list {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
.comment-header {
|
||||||
|
margin-bottom: 0.3rem;
|
||||||
|
}
|
||||||
|
.comment-body p {
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
.button.is-primary {
|
||||||
|
background-color: #38315f;
|
||||||
|
border-color: transparent;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
.button.is-primary:hover {
|
||||||
|
background-color: #2d274a;
|
||||||
|
}
|
||||||
|
textarea.textarea {
|
||||||
|
background-color: #f8f9fa;
|
||||||
|
border: 1px solid #dbdbdb;
|
||||||
|
color: #363636;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Styling the post title header to appear below the title and closer to it */
|
||||||
|
.post-title-header {
|
||||||
|
font-size: 0.9rem; /* Slightly smaller font size */
|
||||||
|
margin-top: 0.1rem; /* Reduced space between title and header */
|
||||||
|
margin-bottom: 0.5rem; /* Added space below the title header */
|
||||||
|
color: #38315f; /* Regular color */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Style for handle and time (grey color and bigger text) */
|
||||||
|
.post-title-header .handle,
|
||||||
|
.post-title-header .time {
|
||||||
|
font-size: 1rem; /* Increase the font size */
|
||||||
|
color: #6b6b6b; /* Grey color for handle and time */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Make the handle underlined on hover */
|
||||||
|
.post-title-header .handle {
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-title-header .handle:hover {
|
||||||
|
text-decoration: underline; /* Underline effect on hover */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Style for the navigation links (parent, next) */
|
||||||
|
.post-title-header .nav-link {
|
||||||
|
font-size: 0.875rem; /* Smaller font size for the links */
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
color: #38315f; /* Match the color with other text */
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-title-header .nav-link:hover {
|
||||||
|
color: #2d274a; /* Darker color on hover */
|
||||||
|
text-decoration: underline; /* Underline effect on hover */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Styling for the body text to create more space below the title header */
|
||||||
|
.content p:first-of-type {
|
||||||
|
margin-bottom: 0.0rem; /* Add more space below the title header and before the body */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ensure post text is aligned to the left */
|
||||||
|
.media-content {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add specific styles for login page if needed */
|
||||||
|
.login-container {
|
||||||
|
max-width: 450px; /* Increased width for longer fields */
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
.login-container h2 {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
color: #38315f; /* Updated text color */
|
||||||
|
}
|
||||||
|
.login-container .field {
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
}
|
||||||
|
.login-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 */
|
||||||
|
}
|
||||||
|
.login-container .input {
|
||||||
|
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 */
|
||||||
|
}
|
||||||
|
.login-container .input:focus {
|
||||||
|
border-color: #38315f; /* Highlight focus */
|
||||||
|
box-shadow: 0 0 0 0.125em rgba(56, 49, 95, 0.25);
|
||||||
|
}
|
||||||
|
.login-container .button.is-link { /* 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 */
|
||||||
|
}
|
||||||
|
.login-container .button.is-link:hover {
|
||||||
|
background-color: #2d274a; /* Slightly darker on hover */
|
||||||
|
}
|
||||||
|
.recaptcha-placeholder {
|
||||||
|
margin-left: 100px; /* Align with inputs */
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
color: #6c757d;
|
||||||
|
border: 1px dashed #ccc;
|
||||||
|
padding: 10px;
|
||||||
|
display: inline-block;
|
||||||
|
width: 250px; /* Match input width */
|
||||||
|
text-align: center;
|
||||||
|
background-color: #f5f5f5; /* Light background for placeholder */
|
||||||
|
}
|
||||||
|
.form-section {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
.login-container p a {
|
||||||
|
color: #38315f; /* Link color */
|
||||||
|
}
|
||||||
|
.login-container p a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user