Files
flask_blog/static/css/simple-blog-template.css
2026-03-12 21:47:01 +01:00

141 lines
2.6 KiB
CSS

/*!
* Simple Blog Template
* Copyright 2016 Seunghun Lee (https://github.com/earlbread/simple-blog-template)
* Licensed under MIT (https://github.com/earlbread/simple-blog-template/blob/master/LICENSE)
*/
body {
padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}
footer {
margin: 50px 0;
}
@media (min-width: 1200px) {
.container {
width: 750px;
}
}
/* navigation */
nav {
text-transform: uppercase;
}
.navbar-inverse .navbar-brand {
color: white;
font-weight: bold;
font-size: 25px;
}
.navbar-inverse .navbar-nav > li > a {
color: white;
}
/* Posts */
.post-title {
font-size: 3em;
}
.post-title a {
color: inherit;
text-decoration: none;
}
.btn {
border-radius: 0;
}
.btn-custom {
margin-top: 20px;
margin-right: 10px;
float: right;
border-radius: 5px;
}
.pager li > a {
color: inherit;
border-radius: 0;
border: 0;
padding: 0.9em 1.4em;
}
/* Login, Sign up, New post */
.login,
.signup {
margin-top: 20px;
}
.login h1,
.signup h1,
.newpost h1 {
margin-bottom: 20px;
text-align: center;
}
.login .form-control,
.signup .form-control,
.newpost .form-control {
border-radius: 0;
}
.login button,
.signup button {
margin-top: 20px;
margin-bottom: 10px;
width: 100%;
}
.form-group label {
font-weight: normal;
}
.newpost textarea {
max-width: 100%;
}
/* Basic terminal style */
.terminal-style {
font-family: "Courier New", monospace; /* Monospaced font for terminal look */
background-color: #000; /* Black background */
color: #fff; /* Classic green text color */
padding: 10px; /* Padding around the text */
border-radius: 4px; /* Slightly rounded corners */
border: 1px solid #333; /* Light border for separation */
/*white-space: pre-wrap; */
white-space: pre-wrap;
overflow-x: auto;
}
.pager {
display: flex;
justify-content: space-between;
align-items: center;
}
.pager span {
font-weight: bold;
color: #777;
}
/* Optional: Make the disabled buttons look more "faded" */
.pager .disabled a {
color: #ccc !important;
pointer-events: none;
cursor: not-allowed;
}
.blog-content {
position: relative;
z-index: 1; /* Ensures text stays on top */
}
.background-svg {
position: fixed; /* This keeps it in the corner even when scrolling */
bottom: 100px; /* Small gap from the edge looks cleaner */
right: 200px;
width: 200px; /* Adjust to your preference */
height: auto;
z-index: -1; /* Places it behind the text */
pointer-events: none; /* VERY IMPORTANT: allows you to select text "over" the SVG */
opacity: 0.6; /* Makes it subtle so it doesn't distract from the blog */
}