Skip to content

Commit

Permalink
Merge pull request #133 from DidierMalenfant/fix-css-example
Browse files Browse the repository at this point in the history
Fixed the CSS example for semi-transparent chat embedding
  • Loading branch information
gabek authored Dec 1, 2023
2 parents 20c1e05 + 182691d commit 0c538b8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions content/docs/embed.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ You can easily customize the styling of the embedded Owncast stream to match you
background-color: #fff; /* Set background color to white */
margin: 0 auto; /* Center the iframe horizontally */
}

/* Style the iframe title (optional) */
iframe[title="Owncast"] {
font-size: 18px; /* Adjust the title font size */
font-weight: bold; /* Make the title bold */
padding: 10px; /* Add some padding around the title */
}

/* Style the iframe content (optional) */
iframe[title="Owncast"] body {
margin: 0; /* Reset margin inside the iframe */
Expand Down Expand Up @@ -124,9 +124,13 @@ One common use of read-only chat is adding the chat messages to your broadcastin
html {
margin: 0px;
padding: 20px;
background-color: rgba(0,0,0,0.5);
background-color: rgba(0,0,0,0);
font-size: 24px;
}

\#chat-container {
background-color: rgba(0,0,0,0.5);
}
{{< / highlight >}}

1. Click ‘OK’ to save your chat settings and re-position the new chat source in your scene.
Expand Down

0 comments on commit 0c538b8

Please sign in to comment.