Skip to content

Commit

Permalink
font face change
Browse files Browse the repository at this point in the history
  • Loading branch information
Supraboy981322 authored Nov 12, 2023
1 parent f2895e4 commit 46971be
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
20 changes: 20 additions & 0 deletions proto-and-wip/element-html-file.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


<!DOCTYPE html>
<html>

<body style="margin:0px;padding:0px;background:black;">
<div style="background:black;height:10%;width:100%">

<center><input placeholder="Enter URL" type="text" id="searchInput" name="input"><button onclick="changeChannel()">Search</button></center>

</div>
<iframe id="searchFrame" src="https://app.element.io/" style="position: absolute; height: 95%; width:100%; border: none"></iframe>
</body>
<script>
function changeChannel() {
event.preventDefault();
document.getElementById("searchFrame").src = document.getElementById("searchInput").value;
}
</script>
</html>
7 changes: 6 additions & 1 deletion styles/stylesheet.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@font-face {
font-family: D-DINExp-Bold;
src: url(/styles/fonts/D-DINExp-Bold.otf);
}

html,
body,
h1,
Expand All @@ -6,7 +11,7 @@ h3,
h4,
h5,
h6 {
font-family: "Roboto", sans-serif;
font-family: D-DINExp-Bold;
}

.main {
Expand Down

0 comments on commit 46971be

Please sign in to comment.