viewer-embed-dark / index.html
cfahlgren1's picture
cfahlgren1 HF Staff
Update index.html
bd5d929 verified
raw
history blame contribute delete
642 Bytes
<html data-theme="dark">
<head>
<style>
:root { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
body {
margin: 0;
background: #fff; /* page background can stay white */
color: #111;
}
.viewer-wrap {
width: min(1600px, 98vw);
margin: 16px auto;
}
iframe {
width: 100%;
height: 720px;
border: 0;
}
</style>
</head>
<body>
<div class="viewer-wrap">
<iframe src="https://huggingface.co/datasets/rajpurkar/squad/embed/viewer/plain_text/train"></iframe>
</div>
</body>
</html>