Skip to content

Commit

Permalink
web: Customize dev page styles
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Apr 17, 2022
1 parent 76dd168 commit 689cb58
Showing 1 changed file with 38 additions and 17 deletions.
55 changes: 38 additions & 17 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,44 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Lit App</title>
<script type="module" src="/src/giscus.ts"></script>
<style>
.styles {
margin: 2rem;
font-family: sans-serif;
background-color: #bababa;
}
#comments {
display: flex;
margin: auto;
max-width: 640px;
min-height: 200px;
}
.comments-container {
margin: auto;
max-width: 800px;
max-height: 640px;
overflow-y: scroll;
}
</style>
</head>
<body style="background-color: #bababa">
<giscus-widget
id="comments"
repo="giscus/giscus"
repoid="MDEwOlJlcG9zaXRvcnkzNTE5NTgwNTM="
category="General"
categoryid="MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMyNzk2NTc1"
mapping="specific"
term="Welcome to giscus!"
reactionsenabled="1"
emitmetadata="0"
inputposition="top"
theme="light"
lang="en"
>
<p>Loading comments...</p>
</giscus-widget>
<body class="styles">
<div class="comments-container">
<giscus-widget
id="comments"
repo="giscus/giscus"
repoid="MDEwOlJlcG9zaXRvcnkzNTE5NTgwNTM="
category="General"
categoryid="MDE4OkRpc2N1c3Npb25DYXRlZ29yeTMyNzk2NTc1"
mapping="specific"
term="Welcome to giscus!"
reactionsenabled="1"
emitmetadata="0"
inputposition="top"
theme="light"
lang="en"
>
<p>Loading comments...</p>
</giscus-widget>
</div>
</body>
</html>

0 comments on commit 689cb58

Please sign in to comment.