reformat css with prettier
parent
3b78a10e69
commit
2d8a122fe2
113
css/index.css
113
css/index.css
|
@ -1,7 +1,7 @@
|
|||
/* Colors */
|
||||
:root {
|
||||
--header: #333;
|
||||
--border: #C0C0C0;
|
||||
--border: #c0c0c0;
|
||||
--text: #fff;
|
||||
--visited: #660066;
|
||||
--link: #fff;
|
||||
|
@ -25,14 +25,78 @@ body {
|
|||
text-align: justify;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: 25% 1fr 25%;
|
||||
grid-template-areas:
|
||||
"left content right";
|
||||
grid-template-areas: "left content right";
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: -apple-system, system-ui, sans-serif;
|
||||
color: var(--text);
|
||||
min-height: 100vh;
|
||||
background-image: linear-gradient(116deg, rgba(232, 232, 232, 0.03) 0%, rgba(232, 232, 232, 0.03) 10%, rgba(14, 14, 14, 0.03) 10%, rgba(14, 14, 14, 0.03) 66%, rgba(232, 232, 232, 0.03) 66%, rgba(232, 232, 232, 0.03) 72%, rgba(44, 44, 44, 0.03) 72%, rgba(44, 44, 44, 0.03) 81%, rgba(51, 51, 51, 0.03) 81%, rgba(51, 51, 51, 0.03) 100%), linear-gradient(109deg, rgba(155, 155, 155, 0.03) 0%, rgba(155, 155, 155, 0.03) 23%, rgba(30, 30, 30, 0.03) 23%, rgba(30, 30, 30, 0.03) 63%, rgba(124, 124, 124, 0.03) 63%, rgba(124, 124, 124, 0.03) 73%, rgba(195, 195, 195, 0.03) 73%, rgba(195, 195, 195, 0.03) 84%, rgba(187, 187, 187, 0.03) 84%, rgba(187, 187, 187, 0.03) 100%), linear-gradient(79deg, rgba(254, 254, 254, 0.03) 0%, rgba(254, 254, 254, 0.03) 27%, rgba(180, 180, 180, 0.03) 27%, rgba(180, 180, 180, 0.03) 33%, rgba(167, 167, 167, 0.03) 33%, rgba(167, 167, 167, 0.03) 34%, rgba(68, 68, 68, 0.03) 34%, rgba(68, 68, 68, 0.03) 63%, rgba(171, 171, 171, 0.03) 63%, rgba(171, 171, 171, 0.03) 100%), linear-gradient(109deg, rgba(71, 71, 71, 0.03) 0%, rgba(71, 71, 71, 0.03) 3%, rgba(97, 97, 97, 0.03) 3%, rgba(97, 97, 97, 0.03) 40%, rgba(40, 40, 40, 0.03) 40%, rgba(40, 40, 40, 0.03) 55%, rgba(5, 5, 5, 0.03) 55%, rgba(5, 5, 5, 0.03) 73%, rgba(242, 242, 242, 0.03) 73%, rgba(242, 242, 242, 0.03) 100%), linear-gradient(271deg, rgba(70, 70, 70, 0.03) 0%, rgba(70, 70, 70, 0.03) 11%, rgba(178, 178, 178, 0.03) 11%, rgba(178, 178, 178, 0.03) 23%, rgba(28, 28, 28, 0.03) 23%, rgba(28, 28, 28, 0.03) 72%, rgba(152, 152, 152, 0.03) 72%, rgba(152, 152, 152, 0.03) 86%, rgba(43, 43, 43, 0.03) 86%, rgba(43, 43, 43, 0.03) 100%), linear-gradient(90deg, rgb(27, 27, 27), rgb(1, 1, 1));
|
||||
background-image: linear-gradient(
|
||||
116deg,
|
||||
rgba(232, 232, 232, 0.03) 0%,
|
||||
rgba(232, 232, 232, 0.03) 10%,
|
||||
rgba(14, 14, 14, 0.03) 10%,
|
||||
rgba(14, 14, 14, 0.03) 66%,
|
||||
rgba(232, 232, 232, 0.03) 66%,
|
||||
rgba(232, 232, 232, 0.03) 72%,
|
||||
rgba(44, 44, 44, 0.03) 72%,
|
||||
rgba(44, 44, 44, 0.03) 81%,
|
||||
rgba(51, 51, 51, 0.03) 81%,
|
||||
rgba(51, 51, 51, 0.03) 100%
|
||||
),
|
||||
linear-gradient(
|
||||
109deg,
|
||||
rgba(155, 155, 155, 0.03) 0%,
|
||||
rgba(155, 155, 155, 0.03) 23%,
|
||||
rgba(30, 30, 30, 0.03) 23%,
|
||||
rgba(30, 30, 30, 0.03) 63%,
|
||||
rgba(124, 124, 124, 0.03) 63%,
|
||||
rgba(124, 124, 124, 0.03) 73%,
|
||||
rgba(195, 195, 195, 0.03) 73%,
|
||||
rgba(195, 195, 195, 0.03) 84%,
|
||||
rgba(187, 187, 187, 0.03) 84%,
|
||||
rgba(187, 187, 187, 0.03) 100%
|
||||
),
|
||||
linear-gradient(
|
||||
79deg,
|
||||
rgba(254, 254, 254, 0.03) 0%,
|
||||
rgba(254, 254, 254, 0.03) 27%,
|
||||
rgba(180, 180, 180, 0.03) 27%,
|
||||
rgba(180, 180, 180, 0.03) 33%,
|
||||
rgba(167, 167, 167, 0.03) 33%,
|
||||
rgba(167, 167, 167, 0.03) 34%,
|
||||
rgba(68, 68, 68, 0.03) 34%,
|
||||
rgba(68, 68, 68, 0.03) 63%,
|
||||
rgba(171, 171, 171, 0.03) 63%,
|
||||
rgba(171, 171, 171, 0.03) 100%
|
||||
),
|
||||
linear-gradient(
|
||||
109deg,
|
||||
rgba(71, 71, 71, 0.03) 0%,
|
||||
rgba(71, 71, 71, 0.03) 3%,
|
||||
rgba(97, 97, 97, 0.03) 3%,
|
||||
rgba(97, 97, 97, 0.03) 40%,
|
||||
rgba(40, 40, 40, 0.03) 40%,
|
||||
rgba(40, 40, 40, 0.03) 55%,
|
||||
rgba(5, 5, 5, 0.03) 55%,
|
||||
rgba(5, 5, 5, 0.03) 73%,
|
||||
rgba(242, 242, 242, 0.03) 73%,
|
||||
rgba(242, 242, 242, 0.03) 100%
|
||||
),
|
||||
linear-gradient(
|
||||
271deg,
|
||||
rgba(70, 70, 70, 0.03) 0%,
|
||||
rgba(70, 70, 70, 0.03) 11%,
|
||||
rgba(178, 178, 178, 0.03) 11%,
|
||||
rgba(178, 178, 178, 0.03) 23%,
|
||||
rgba(28, 28, 28, 0.03) 23%,
|
||||
rgba(28, 28, 28, 0.03) 72%,
|
||||
rgba(152, 152, 152, 0.03) 72%,
|
||||
rgba(152, 152, 152, 0.03) 86%,
|
||||
rgba(43, 43, 43, 0.03) 86%,
|
||||
rgba(43, 43, 43, 0.03) 100%
|
||||
),
|
||||
linear-gradient(90deg, rgb(27, 27, 27), rgb(1, 1, 1));
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
|
@ -50,11 +114,19 @@ body {
|
|||
grid-template-areas: "number title title" "time time tags";
|
||||
}
|
||||
|
||||
.postlist-item:before { grid-area: number; }
|
||||
.postlist-link { grid-area: title; }
|
||||
.postlist-date { grid-area: time; }
|
||||
.post-tags { grid-area: tags; text-align: left; }
|
||||
|
||||
.postlist-item:before {
|
||||
grid-area: number;
|
||||
}
|
||||
.postlist-link {
|
||||
grid-area: title;
|
||||
}
|
||||
.postlist-date {
|
||||
grid-area: time;
|
||||
}
|
||||
.post-tags {
|
||||
grid-area: tags;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
nav {
|
||||
|
@ -106,9 +178,11 @@ table th {
|
|||
|
||||
pre,
|
||||
code {
|
||||
font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", "Courier New", Courier, monospace;
|
||||
font-family: Consolas, Menlo, Monaco, "Andale Mono WT", "Andale Mono",
|
||||
"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono",
|
||||
"Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L",
|
||||
"Courier New", Courier, monospace;
|
||||
line-height: 1.5;
|
||||
|
||||
}
|
||||
|
||||
pre {
|
||||
|
@ -127,9 +201,8 @@ pre {
|
|||
-ms-hyphens: none;
|
||||
hyphens: none;
|
||||
padding: 1em;
|
||||
margin: .5em 0;
|
||||
margin: 0.5em 0;
|
||||
overflow-y: auto;
|
||||
|
||||
}
|
||||
|
||||
/*background-color: var(--code-bg)*/
|
||||
|
@ -163,7 +236,7 @@ code {
|
|||
|
||||
.highlight-line-active {
|
||||
background-color: #444;
|
||||
background-color: hsla(0, 0%, 27%, .8);
|
||||
background-color: hsla(0, 0%, 27%, 0.8);
|
||||
}
|
||||
|
||||
.highlight-line-add {
|
||||
|
@ -244,8 +317,8 @@ code {
|
|||
}
|
||||
|
||||
.postlist-link {
|
||||
padding-left: .25em;
|
||||
padding-right: .25em;
|
||||
padding-left: 0.25em;
|
||||
padding-right: 0.25em;
|
||||
text-underline-position: from-font;
|
||||
text-underline-offset: 0;
|
||||
text-decoration-thickness: 1px;
|
||||
|
@ -261,7 +334,6 @@ code {
|
|||
font-weight: 700;
|
||||
}
|
||||
|
||||
|
||||
/* Tags */
|
||||
.post-tag {
|
||||
display: inline-flex;
|
||||
|
@ -316,7 +388,7 @@ a[href].post-tag:focus {
|
|||
font-family: sans-serif;
|
||||
text-decoration: none;
|
||||
font-style: normal;
|
||||
margin-left: .1em;
|
||||
margin-left: 0.1em;
|
||||
}
|
||||
|
||||
a[href].direct-link,
|
||||
|
@ -344,11 +416,9 @@ div.time-and-tags {
|
|||
align-content: center;
|
||||
grid-template-rows: auto;
|
||||
grid-template-columns: auto;
|
||||
grid-template-areas:
|
||||
"content";
|
||||
grid-template-areas: "content";
|
||||
}
|
||||
|
||||
|
||||
.container {
|
||||
width: 100%;
|
||||
height: fit-content;
|
||||
|
@ -370,3 +440,4 @@ footer {
|
|||
text-align: center;
|
||||
padding: 2em;
|
||||
}
|
||||
|
Loading…
Reference in New Issue