223 lines
No EOL
4.3 KiB
CSS
223 lines
No EOL
4.3 KiB
CSS
@font-face {
|
|
font-family: 'Roboto Mono';
|
|
src: url('/hugo-theme-console/font/RobotoMono-Regular.ttf') format('truetype');
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto Mono';
|
|
src: url('/hugo-theme-console/font/RobotoMono-Italic.ttf') format('truetype');
|
|
font-style: italic;
|
|
font-weight: 400;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto Mono';
|
|
src: url('/hugo-theme-console/font/RobotoMono-Bold.ttf') format('truetype');
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto Mono';
|
|
src: url('/hugo-theme-console/font/RobotoMono-BoldItalic.ttf') format('truetype');
|
|
font-style: italic;
|
|
font-weight: 700;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
.sidebar-heading {
|
|
text-transform: none;
|
|
letter-spacing: 0;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.box-masonry .box-masonry-image {
|
|
background: #fff;
|
|
}
|
|
|
|
.box-masonry,
|
|
.box-masonry:hover {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.label {
|
|
font-family: var(--font-stack);
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-stack);
|
|
font-size: var(--global-font-size);
|
|
background-color: #fff;
|
|
margin-bottom: 75px;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
.h1,
|
|
.h2,
|
|
.h3,
|
|
.h4,
|
|
.h5,
|
|
.h6 {
|
|
font-family: var(--font-stack);
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 150px;
|
|
}
|
|
|
|
.content-column-content p,
|
|
.content-column-content li {
|
|
color: #666;
|
|
}
|
|
|
|
.btn-ghost {
|
|
color: #666;
|
|
background-color: transparent;
|
|
border-color: #333;
|
|
font-weight: 400;
|
|
font-family: var(--font-stack);
|
|
padding: 6px 12px;
|
|
font-size: 18px;
|
|
line-height: 1.55;
|
|
border-radius: 0;
|
|
margin-left: 0;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.content-column-content .command {
|
|
color: #aaa;
|
|
}
|
|
|
|
p.social a {
|
|
margin: 0 0 10px 0;
|
|
color: #fff;
|
|
display: inline-block;
|
|
width: 30px;
|
|
height: 30px;
|
|
border: none;
|
|
line-height: 30px;
|
|
font-size: 25px;
|
|
text-align: center;
|
|
vertical-align: bottom;
|
|
color: #999999;
|
|
-webkit-transition: all 0.2s ease-out;
|
|
-moz-transition: all 0.2s ease-out;
|
|
transition: all 0.2s ease-out;
|
|
}
|
|
|
|
.active a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.logo {
|
|
font-weight: normal;
|
|
}
|
|
|
|
:root {
|
|
--global-font-size: 16px;
|
|
--global-font-color: #444;
|
|
--mono-font-stack: Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
|
--font-stack: Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
|
|
--global-line-height: 1.6em;
|
|
--page-width: 70em;
|
|
--display-h1-decoration: 1;
|
|
}
|
|
|
|
.terminal-menu li {
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.post-list-date {
|
|
float: left;
|
|
font-weight: bold;
|
|
width: 150px;
|
|
height: 120px;
|
|
margin-top: 21px;
|
|
}
|
|
|
|
figure {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
margin-left: 60px;
|
|
margin-right: 60px;
|
|
}
|
|
|
|
|
|
@media only screen and (max-width: 850px) {
|
|
.site-name {
|
|
display: none;
|
|
}
|
|
.terminal-nav {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
display: flex;
|
|
}
|
|
.terminal-menu ul {
|
|
align-items: flex-start;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: left;
|
|
margin-top: 0;
|
|
}
|
|
.terminal-menu li {
|
|
margin-right: 20px;
|
|
}
|
|
.logo {
|
|
padding: calc(var(--global-space) * 1) 0 calc(var(--global-space) * 1);
|
|
}
|
|
:root {
|
|
--global-font-size: 14px;
|
|
--global-font-color: #444;
|
|
--global-line-height: 1.6em;
|
|
--page-width: 70em;
|
|
}
|
|
figure {
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
margin-left: 30px;
|
|
margin-right: 30px;
|
|
}
|
|
.post-list-date {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
|
|
.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) / 4), 1fr));
|
|
}
|
|
|
|
.terminal-prompt::after {
|
|
-webkit-animation: cursor 1s infinite;
|
|
animation: cursor 1s infinite;
|
|
width: 10px;
|
|
}
|
|
|
|
.terminal-prompt::before {
|
|
content: none;
|
|
}
|
|
|
|
.gallery-image {
|
|
margin-top: 10px;
|
|
margin-bottom: 10px;
|
|
} |