mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-11-09 21:26:59 +00:00
Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2dc744551 | ||
|
|
868c11507c | ||
|
|
6fa9f7b09f | ||
|
|
cc261d6aaa | ||
|
|
5487b22a4f |
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) {
|
||||
console.log(msg.command);
|
||||
if (msg.command === "code") {
|
||||
$("#messages").append($("<li>").html("<pre>" + msg.message + "</pre>"));
|
||||
$("#messages").append(
|
||||
$("<li>").html("<pre>" + msg.message + "</pre>")
|
||||
);
|
||||
} else {
|
||||
$("#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?
|
||||
|
||||
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
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -31,10 +31,29 @@
|
||||
|
||||
margin: 1em;
|
||||
|
||||
.highlight {
|
||||
margin: 0 -1em;
|
||||
> .highlight {
|
||||
margin: 1em -1em;
|
||||
border-radius: 0;
|
||||
|
||||
&:first-child {
|
||||
margin-top: -1em;
|
||||
border-top-left-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 {
|
||||
margin-top: -1em;
|
||||
@@ -43,6 +62,12 @@
|
||||
&:last-child {
|
||||
margin-bottom: -1em;
|
||||
}
|
||||
|
||||
td {
|
||||
word-break: normal;
|
||||
overflow-wrap: normal;
|
||||
white-space: pre;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -84,6 +84,16 @@ h4 {
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.075rem;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
@media #{$media-size-phone} {
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
@@ -100,6 +110,14 @@ h4 {
|
||||
h4 {
|
||||
font-size: 1.125rem;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 1.075rem;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
@@ -466,21 +484,20 @@ svg {
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
padding: 10px 10px 10px 20px;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
font-size: 0.95rem;
|
||||
overflow: auto;
|
||||
background: $light-background-secondary;
|
||||
|
||||
th {
|
||||
padding: 8px 4px;
|
||||
padding: 8px 8px;
|
||||
|
||||
word-break: normal;
|
||||
overflow-wrap: normal;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 6px 4px;
|
||||
padding: 6px 8px;
|
||||
|
||||
border-top: 1px solid $light-color-secondary;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user