Skip to content

Commit

Permalink
Merge pull request #1 from rand0musername/master
Browse files Browse the repository at this point in the history
Add site content
  • Loading branch information
rand0musername authored Mar 7, 2024
2 parents 92e913f + ee4ce48 commit 8a93156
Show file tree
Hide file tree
Showing 35 changed files with 42,449 additions and 110 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# watermark-stealing-website
# watermark-stealing-website

The code for https://watermark-stealing.org/.
449 changes: 364 additions & 85 deletions index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions static/css/bulma-switch.min.css

Large diffs are not rendered by default.

213 changes: 205 additions & 8 deletions static/css/index.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
@import url('https://fonts.googleapis.com/css2?family=Didact+Gothic&display=swap')

body {
font-family: 'Noto Sans', sans-serif;
}

.hero.is-purple {
background-color: #3c285f;
color: white;
}

.hero.is-lightpurple {
background-color: #aa8dd8;
color: white;
}

.logo {
height: 1.8em;
margin-bottom: -0.4em;
}

.footer {
display: block;
margin: auto;
font-size: 10px;
padding: 3rem 1.5rem 3rem;
}

.footer .icon-link {
Expand Down Expand Up @@ -51,7 +69,8 @@ body {

.publication-title {
font-family: 'Google Sans', sans-serif;
font-size: 42px;
font-size: 2.5rem;
color: white;
}

.publication-authors {
Expand All @@ -74,7 +93,7 @@ body {
}

.publication-authors a {
color: hsl(204, 86%, 53%) !important;
color: #bbd8ed !important;
}

.publication-authors a:hover {
Expand All @@ -88,10 +107,6 @@ body {
.publication-banner img {
}

.publication-authors {
/*color: #4286f4;*/
}

.publication-video {
position: relative;
width: 100%;
Expand Down Expand Up @@ -136,6 +151,188 @@ body {
font-size: smaller;
}

.overview {
width: 70%;
.figure-stealing {
width: 75%;
}
.figure-spoofing {
width: 80%;
margin-top: 10px;
}
.figure-scrubbing {
width: 90%;
margin-top: 10px;
}

.tldr {
font-size: 1.95rem;
}

.intext {
height: 1.1em;
}

.intext-big {
height: 1.3em;
}

.green {
color: #007f00;
}

.red {
color: #983131;
}

.devilish {
color: #aa8dd8;
}

.textsc {
font-variant-caps: small-caps;
}

.example-buttons {
display: flex;
justify-content: space-between;
}

.example-buttons-inner {
margin: 5px 5%;
flex: 1;
}

.example-button {
margin-top: 5px;
}

.example-cat {
padding-bottom: 5px;
border-bottom: 0px solid #aa8dd8;
}

button.active {
background-color: #bbacd3;
}

.example-box {
}

.example {
display: none;
}

.example.active {
display: block;
}

.chat-container {
width: 90%;
margin-top: 20px;
background-color: #fefefe;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.chat-container.left {
margin-left: 5px;
margin-right: auto;
}

.chat-container.right {
margin-right: 5px;
margin-left: auto;
}

.chat-header {
background-color: #111;
color: #fff;
padding: 10px 10px 10px 20px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

.chat-body {
padding: 20px;
font-size: 14px;
line-height: 1.6;
background-color: #fbfbfb;
color: #333;
font-family: 'Courier', sans-serif, monospace;
overflow-y: scroll;
max-height: 350px;
}

.chat-detector {
background-color: #0a2f48;
color: #fff;
padding: 10px;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}

.emoji-label {
height: 1.2em;
margin-bottom: -0.2em;
}

#detectorMode {
background-color: #5dadec;
}

.switch[type=checkbox]+label {
padding-top: 0;
}

.chat-red1.active {
color: #880000;
}
.chat-red2.active {
color: #FF0000;
}
.chat-green1.active {
color: #008000;
}
.chat-green2.active {
color: #03ad55;
}
.chat-black1.active {
color: #000000;
}
.chat-black2.active {
color: #555555;
}

.chat-detector {
display: none;
}

.chat-detector.active {
display: block;
font-family: "Didact Gothic", sans-serif;
font-weight: bold;
font-style: normal;
}

#BibTeX {
background: #fbfbfb;
font-family:'Courier New', Courier, monospace;
border: 1px solid #ddd;
overflow: auto;
max-width: 80vw;
}

.example-intro {
}

a {
color: #3273dc;
}

.caption {
font-weight: bold;
margin: 20px 6% 35px 6%;
padding: 0 0 0 2%;
border-left: thick solid #aa8dd8;
color: #3c285f;
}
11 changes: 11 additions & 0 deletions static/css/run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
with open("in.txt", "r") as f:
lines = f.readlines()
for line in lines:
line = line.strip()
line=line.replace("style=\"color:#000000\"", 'class="chat-black1"')
line=line.replace("style=\"color:#777777\"", 'class="chat-black2"')
line=line.replace("style=\"color:#880000\"", 'class="chat-red1"')
line=line.replace("style=\"color:#FF0000\"", 'class="chat-red2"')
line=line.replace("style=\"color:#008000\"", 'class="chat-green1"')
line=line.replace("style=\"color:#03ad55\"", 'class="chat-green2"')
print(line)
Binary file removed static/images/carousel1.jpg
Binary file not shown.
Binary file removed static/images/carousel2.jpg
Binary file not shown.
Binary file removed static/images/carousel3.jpg
Binary file not shown.
Binary file removed static/images/carousel4.jpg
Binary file not shown.
Binary file added static/images/intext/devil.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/intext/go.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/intext/knowledge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/intext/knowledge_full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/intext/oai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/intext/stop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/intext/water.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/images/intext/xi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8a93156

Please sign in to comment.