mirror of
https://github.com/JimenezJC/mshj_blog.git
synced 2025-12-06 09:09:56 -05:00
330 lines
5.5 KiB
CSS
330 lines
5.5 KiB
CSS
/* Sleek Terminal Card */
|
|
.card-container {
|
|
--terminal-bg: #1a1d23;
|
|
--terminal-border: #2c3e50;
|
|
--terminal-accent: #3498db;
|
|
--terminal-text: #ecf0f1;
|
|
--terminal-highlight: #2ecc71;
|
|
|
|
color: var(--terminal-text) !important;
|
|
font-family: 'SF Mono', 'Menlo', monospace;
|
|
padding: 1rem;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
max-width: 700px;
|
|
margin: 1.5rem auto;
|
|
}
|
|
|
|
.main-content {
|
|
flex-grow: 1;
|
|
width: 100%;
|
|
padding-bottom: 60px;
|
|
}
|
|
|
|
|
|
/* Card container adjustments */
|
|
.card-container {
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
max-width: 700px;
|
|
padding-right: 1.5rem;
|
|
padding-bottom: 1.5rem;
|
|
padding-left: 1.5rem;
|
|
padding-top: 0;
|
|
}
|
|
|
|
/* Header styling */
|
|
.card-container header {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
|
margin-bottom: 0.5rem;
|
|
padding-bottom: 0.75rem;
|
|
font-size: 1.2rem;
|
|
font-weight: 600;
|
|
background-color: transparent;
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
|
|
.card-container header h1 {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.card-container header h2 {
|
|
color: var(--terminal-text);
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
margin: 0;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
/* Body content */
|
|
.content-wrapper {
|
|
line-height: 1.6;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
/* Code blocks */
|
|
.content-wrapper pre {
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 4px;
|
|
padding: 0.75rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
|
|
/* Status indicator */
|
|
.card-container::after {
|
|
content: '●';
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 15px;
|
|
color: var(--terminal-highlight);
|
|
font-size: 0.8rem;
|
|
text-shadow: 0 0 8px currentColor;
|
|
display: none;
|
|
}
|
|
|
|
/* Menu list */
|
|
.menu-list {
|
|
list-style-type: none !important;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.menu-list li {
|
|
margin-bottom: 0.5rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.meta-info {
|
|
font-size: 0.8rem;
|
|
color: #666;
|
|
margin-left: 0.5rem;
|
|
}
|
|
/* Tag list */
|
|
.tag-list {
|
|
margin-top: 1rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
/* Tag link */
|
|
.tag-link {
|
|
text-decoration: none;
|
|
color: #ffffff;
|
|
padding: 0.1rem 0.3rem;
|
|
border-radius: 0.3rem;
|
|
margin-right: 0.3rem;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+1) {
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+2) {
|
|
background-color: #ff69b4;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+3) {
|
|
background-color: #33cc33;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+4) {
|
|
background-color: #6666ff;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+5) {
|
|
background-color: #ffff66;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+6) {
|
|
background-color: #ff9966;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+7) {
|
|
background-color: #cc66cc;
|
|
}
|
|
|
|
.tag-link:nth-child(8n+0) {
|
|
background-color: #66cccc;
|
|
}
|
|
.tag-link:hover {
|
|
background-color: #ddd;
|
|
color: #333;
|
|
}
|
|
|
|
.components-grid {
|
|
display: grid;
|
|
grid-column-gap: 1.4em;
|
|
grid-template-columns: auto;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
.image-grid {
|
|
display: grid;
|
|
grid-template-rows: auto;
|
|
display: grid;
|
|
grid-gap: 1em;
|
|
grid-template-rows: auto;
|
|
grid-template-columns: repeat(auto-fit,
|
|
minmax(calc(var(--page-width) / 12), 1fr));
|
|
}
|
|
|
|
.header-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.mini-header {
|
|
font-size: 0.8rem;
|
|
color: #666;
|
|
margin-left: 1rem;
|
|
border-right: 2px solid #666;
|
|
animation: blink 0.7s infinite;
|
|
}
|
|
|
|
@keyframes blink {
|
|
0% {
|
|
border-color: #666;
|
|
}
|
|
50% {
|
|
border-color: transparent;
|
|
}
|
|
100% {
|
|
border-color: #666;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 70em) {
|
|
.components-grid {
|
|
grid-template-columns: 3fr 9fr;
|
|
}
|
|
|
|
.components-grid aside {
|
|
position: sticky;
|
|
top: calc(var(--global-space) * 2);
|
|
}
|
|
}
|
|
|
|
.terminal-tags {
|
|
margin-top: 1rem;
|
|
line-height: 2;
|
|
}
|
|
|
|
.terminal-tag {
|
|
background-color: var(--secondary-color);
|
|
color: var(--background-color);
|
|
padding: 0.2rem 0.5rem;
|
|
margin-right: 0.5rem;
|
|
text-decoration: none;
|
|
font-size: 0.8rem;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.terminal-tag:hover {
|
|
background-color: var(--primary-color);
|
|
}
|
|
|
|
.terminal-meta {
|
|
opacity: 0.7;
|
|
font-size: 0.8rem;
|
|
margin-left: 0.5rem;
|
|
}
|
|
|
|
|
|
.post-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 1rem;
|
|
border: 1px solid #eee;
|
|
border-radius: 20px;
|
|
margin-bottom: 1.5rem;
|
|
position:static !important;
|
|
|
|
}
|
|
.post-list li {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.post-list-title {
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
|
|
.post-list-description {
|
|
color: #e6e6e6;
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
margin: 0 0 0 0;
|
|
}
|
|
|
|
/* Add spacing between list items */
|
|
.post-list + .post-list {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
|
|
.site-footer {
|
|
margin-top: auto;
|
|
width: 100%;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.footer-nav a {
|
|
text-decoration: none;
|
|
color: #666;
|
|
margin: 0 0.5rem;
|
|
display: inline-block;
|
|
}
|
|
|
|
.footer-nav a:hover {
|
|
color: #333;
|
|
}
|
|
|
|
.footer-nav svg {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.site-footer p {
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
:root {
|
|
--global-font-size: 15px;
|
|
--global-line-height: 1.4em;
|
|
--global-space: 10px;
|
|
--font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
|
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
|
serif;
|
|
--mono-font-stack: Menlo, Monaco, Lucida Console, Liberation Mono,
|
|
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
|
|
serif;
|
|
--background-color: #15151b !important;
|
|
--page-width: 60em;
|
|
--font-color: #e8e9ed;
|
|
--invert-font-color: #222225;
|
|
--secondary-color: #a3abba;
|
|
--tertiary-color: #a3abba;
|
|
--primary-color: #62c4ff;
|
|
--error-color: #ff3c74;
|
|
--progress-bar-background: #3f3f44;
|
|
--progress-bar-fill: #62c4ff;
|
|
--code-bg-color: #3f3f44;
|
|
--input-style: solid;
|
|
--display-h1-decoration: none;
|
|
}
|
|
|
|
|