Changes to redtheory.scroll.pub

root
root
25 days ago
Initial commit
body.html
Changed around line 1
+
+
+ Karl Marx
+ Vladimir Lenin
+ James Connolly
+ Xi Jinping
+
+
+
+
+
+
+
+

Volume 1

+
    +
    +
    +

    Publication 1.1

    +

    Content of Publication 1.1...

    +
    +
    +

    Publication 1.2

    +

    Content of Publication 1.2...

    +
    +
    +
    +
    +

    Volume 2

    +
      +
      +
      +

      Publication 2.1

      +

      Content of Publication 2.1...

      +
      +
      +

      Publication 2.2

      +

      Content of Publication 2.2...

      +
      +
      +
      +
      +

      Volume 3

      +
        +
        +
        +

        Publication 3.1

        +

        Content of Publication 3.1...

        +
        +
        +

        Publication 3.2

        +

        Content of Publication 3.2...

        +
        +
        +
        +
        +
        +

        Red Theory: Exploring the Works of Deng Xiaoping

        +
        index.scroll
        Changed around line 1
        + buildHtml
        + baseUrl https://redtheory.scroll.pub
        + metaTags
        + editButton /edit.html
        + title Red Theory: Selected Works of Deng Xiaoping
        + style.css
        + body.html
        + script.js
        prompt.json
        Changed around line 1
        + {
        + "id": "c18dad1d-f62d-4572-ba84-bd268efb74bc",
        + "object": "chat.completion",
        + "created": 1735363341,
        + "model": "deepseek-chat",
        + "choices": [
        + {
        + "index": 0,
        + "message": {
        + "role": "assistant",
        + "content": "---domain---\nredtheory.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://redtheory.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Red Theory: Selected Works of Deng Xiaoping\nstyle.css\nbody.html\nscript.js\n---body.html---\n
        \n
        \n \"Karl\n \"Vladimir\n \"James\n \"Xi\n
        \n \n
        \n\n
        \n
        \n

        Volume 1

        \n \n
        \n

        Publication 1.1

        \n

        Content of Publication 1.1...

        \n
        \n
        \n

        Publication 1.2

        \n

        Content of Publication 1.2...

        \n
        \n
        \n\n
        \n

        Volume 2

        \n \n
        \n

        Publication 2.1

        \n

        Content of Publication 2.1...

        \n
        \n
        \n

        Publication 2.2

        \n

        Content of Publication 2.2...

        \n
        \n
        \n\n
        \n

        Volume 3

        \n \n
        \n

        Publication 3.1

        \n

        Content of Publication 3.1...

        \n
        \n
        \n

        Publication 3.2

        \n

        Content of Publication 3.2...

        \n
        \n
        \n
        \n\n
        \n

        Red Theory: Exploring the Works of Deng Xiaoping

        \n
        \n---style.css---\nbody {\n font-family: 'Georgia', serif;\n margin: 0;\n padding: 0;\n background-color: #f5f5f5;\n color: #333;\n}\n\nheader {\n background-color: #c62828;\n padding: 20px;\n text-align: center;\n}\n\n.banner {\n display: flex;\n justify-content: space-around;\n flex-wrap: wrap;\n gap: 10px;\n}\n\n.banner img {\n width: 150px;\n height: 150px;\n border-radius: 50%;\n border: 3px solid #fff;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n}\n\n.taskbar {\n display: flex;\n justify-content: center;\n background-color: #b71c1c;\n padding: 10px;\n}\n\n.taskbar a {\n color: #fff;\n text-decoration: none;\n margin: 0 15px;\n font-size: 18px;\n font-weight: bold;\n}\n\n.taskbar a:hover {\n text-decoration: underline;\n}\n\nmain {\n padding: 20px;\n}\n\nsection {\n margin-bottom: 40px;\n}\n\nh2 {\n color: #c62828;\n border-bottom: 2px solid #c62828;\n padding-bottom: 10px;\n}\n\nul {\n list-style-type: none;\n padding: 0;\n}\n\nul li {\n margin: 10px 0;\n}\n\n.publication-link {\n color: #c62828;\n text-decoration: none;\n}\n\n.publication-link:hover {\n text-decoration: underline;\n}\n\n.publication-content {\n background-color: #fff;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);\n margin-top: 20px;\n}\n\nfooter {\n background-color: #c62828;\n color: #fff;\n text-align: center;\n padding: 10px;\n position: fixed;\n width: 100%;\n bottom: 0;\n}\n\n@media (max-width: 768px) {\n .banner img {\n width: 100px;\n height: 100px;\n }\n\n .taskbar a {\n font-size: 16px;\n margin: 0 10px;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', function() {\n const publicationLinks = document.querySelectorAll('.publication-link');\n \n publicationLinks.forEach(link => {\n link.addEventListener('click', function(e) {\n e.preventDefault();\n const targetId = this.getAttribute('href').substring(1);\n const targetElement = document.getElementById(targetId);\n \n if (targetElement) {\n targetElement.scrollIntoView({ behavior: 'smooth' });\n }\n });\n });\n});\n---end---"
        + },
        + "logprobs": null,
        + "finish_reason": "stop"
        + }
        + ],
        + "usage": {
        + "prompt_tokens": 331,
        + "completion_tokens": 1442,
        + "total_tokens": 1773,
        + "prompt_cache_hit_tokens": 0,
        + "prompt_cache_miss_tokens": 331
        + },
        + "system_fingerprint": "fp_f1afce2943"
        + }
        readme.scroll
        Changed around line 1
        + # redtheory.scroll.pub
        + Website generated by DeepSeek from prompt: Single page with a banner at the top of horizontally placed images of Karl marx, Vladimir lenin, James Connolly, and Xi Jumping. Below the banner is a taskbar that contains a clickable volume 1 volume 2 and volume three of Deng Xiaoping's selected written works, with each tab when clicked scrolls down to select specific publications of that volume. Once clicked, a text document HTML pops up below of that publication. Have the background be simple but in theme.
        script.js
        Changed around line 1
        + document.addEventListener('DOMContentLoaded', function() {
        + const publicationLinks = document.querySelectorAll('.publication-link');
        +
        + publicationLinks.forEach(link => {
        + link.addEventListener('click', function(e) {
        + e.preventDefault();
        + const targetId = this.getAttribute('href').substring(1);
        + const targetElement = document.getElementById(targetId);
        +
        + if (targetElement) {
        + targetElement.scrollIntoView({ behavior: 'smooth' });
        + }
        + });
        + });
        + });
        style.css
        Changed around line 1
        + body {
        + font-family: 'Georgia', serif;
        + margin: 0;
        + padding: 0;
        + background-color: #f5f5f5;
        + color: #333;
        + }
        +
        + header {
        + background-color: #c62828;
        + padding: 20px;
        + text-align: center;
        + }
        +
        + .banner {
        + display: flex;
        + justify-content: space-around;
        + flex-wrap: wrap;
        + gap: 10px;
        + }
        +
        + .banner img {
        + width: 150px;
        + height: 150px;
        + border-radius: 50%;
        + border: 3px solid #fff;
        + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        + }
        +
        + .taskbar {
        + display: flex;
        + justify-content: center;
        + background-color: #b71c1c;
        + padding: 10px;
        + }
        +
        + .taskbar a {
        + color: #fff;
        + text-decoration: none;
        + margin: 0 15px;
        + font-size: 18px;
        + font-weight: bold;
        + }
        +
        + .taskbar a:hover {
        + text-decoration: underline;
        + }
        +
        + main {
        + padding: 20px;
        + }
        +
        + section {
        + margin-bottom: 40px;
        + }
        +
        + h2 {
        + color: #c62828;
        + border-bottom: 2px solid #c62828;
        + padding-bottom: 10px;
        + }
        +
        + ul {
        + list-style-type: none;
        + padding: 0;
        + }
        +
        + ul li {
        + margin: 10px 0;
        + }
        +
        + .publication-link {
        + color: #c62828;
        + text-decoration: none;
        + }
        +
        + .publication-link:hover {
        + text-decoration: underline;
        + }
        +
        + .publication-content {
        + background-color: #fff;
        + padding: 20px;
        + border-radius: 8px;
        + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        + margin-top: 20px;
        + }
        +
        + footer {
        + background-color: #c62828;
        + color: #fff;
        + text-align: center;
        + padding: 10px;
        + position: fixed;
        + width: 100%;
        + bottom: 0;
        + }
        +
        + @media (max-width: 768px) {
        + .banner img {
        + width: 100px;
        + height: 100px;
        + }
        +
        + .taskbar a {
        + font-size: 16px;
        + margin: 0 10px;
        + }
        + }