5 Commits
Author SHA1 Message Date
maik a2dc744551 Add act3-elf-stack writeup 2025-01-04 18:10:47 +01:00
maik 868c11507c Improve table layout 2025-01-04 18:10:28 +01:00
maik 6fa9f7b09f Fix linting and formatting issues 2025-01-04 13:03:35 +01:00
maik cc261d6aaa Add styling for h5 and h6 2025-01-04 12:50:03 +01:00
maik 5487b22a4f Fix looks of nested code block in collapse 2025-01-04 12:45:02 +01:00
31 changed files with 1814 additions and 158 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 KiB

@@ -49,7 +49,9 @@ $(function () {
socket.on("chat message", function (msg) { socket.on("chat message", function (msg) {
console.log(msg.command); console.log(msg.command);
if (msg.command === "code") { if (msg.command === "code") {
$("#messages").append($("<li>").html("<pre>" + msg.message + "</pre>")); $("#messages").append(
$("<li>").html("<pre>" + msg.message + "</pre>")
);
} else { } else {
$("#messages").append($("<li>").text(msg.message)); $("#messages").append($("<li>").text(msg.message));
} }
@@ -41,7 +41,7 @@ This is talking about robots, which my be a hint to look at the [`robots.txt`](h
### What is a robots.txt file? ### What is a robots.txt file?
A `robots.txt` file lives at the root of a website. So, for the site www.example.com, a robots.txt file would live at www.example.com/robots.txt. robots.txt is a plain text file that follows the [Robots Exclusion Standard](http://en.wikipedia.org/wiki/Robots_exclusion_standard#About_the_standard). A robots.txt file consists of one or more rules. Each rule blocks (or allows) access for a given crawler to a specified file path in that website. A `robots.txt` file lives at the root of a website. So, for the site www\.example\.com, a robots.txt file would live at www\.example\.com/robots.txt. robots.txt is a plain text file that follows the [Robots Exclusion Standard](http://en.wikipedia.org/wiki/Robots_exclusion_standard#About_the_standard). A robots.txt file consists of one or more rules. Each rule blocks (or allows) access for a given crawler to a specified file path in that website.
### Opening the file ### Opening the file
File diff suppressed because it is too large Load Diff
@@ -31,10 +31,29 @@
margin: 1em; margin: 1em;
.highlight { > .highlight {
margin: 0 -1em; margin: 1em -1em;
border-radius: 0;
&:first-child {
margin-top: -1em;
border-top-left-radius: 0; border-top-left-radius: 0;
border-top-right-radius: 0; border-top-right-radius: 0;
}
&:last-child {
margin-bottom: -1em;
}
}
> table {
margin: 1em -1em;
border-radius: 0;
&:only-child {
background: inherit;
padding: 0 10px;
}
&:first-child { &:first-child {
margin-top: -1em; margin-top: -1em;
@@ -43,6 +62,12 @@
&:last-child { &:last-child {
margin-bottom: -1em; margin-bottom: -1em;
} }
td {
word-break: normal;
overflow-wrap: normal;
white-space: pre;
}
} }
} }
} }
+21 -4
View File
@@ -84,6 +84,16 @@ h4 {
font-size: 1.125rem; font-size: 1.125rem;
} }
h5 {
font-size: 1.075rem;
margin: 1em 0;
}
h6 {
font-size: 1rem;
margin: 1em 0;
}
@media #{$media-size-phone} { @media #{$media-size-phone} {
h1 { h1 {
font-size: 2rem; font-size: 2rem;
@@ -100,6 +110,14 @@ h4 {
h4 { h4 {
font-size: 1.125rem; font-size: 1.125rem;
} }
h5 {
font-size: 1.075rem;
}
h6 {
font-size: 1rem;
}
} }
a { a {
@@ -466,21 +484,20 @@ svg {
table { table {
width: 100%; width: 100%;
padding: 10px 10px 10px 20px; padding: 10px;
border-radius: 8px; border-radius: 8px;
font-size: 0.95rem; font-size: 0.95rem;
overflow: auto;
background: $light-background-secondary; background: $light-background-secondary;
th { th {
padding: 8px 4px; padding: 8px 8px;
word-break: normal; word-break: normal;
overflow-wrap: normal; overflow-wrap: normal;
} }
td { td {
padding: 6px 4px; padding: 6px 8px;
border-top: 1px solid $light-color-secondary; border-top: 1px solid $light-color-secondary;
} }