-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathdisserver.html
More file actions
130 lines (103 loc) · 4.12 KB
/
disserver.html
File metadata and controls
130 lines (103 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/games/files/main.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
<link rel="shortcut icon" href="https://github.com/MegaTheLEGEND/html-m.a/blob/main/EmbeddedImage.png?raw=true">
<title>Discord server</title>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-53234KX3PG');
</script>
<style>
body,h1,h2,h3,h4,h5 {font-family: "Poppins", sans-serif}
body {font-size:16px;}
.w3-half img{margin-bottom:-6px;margin-top:16px;opacity:0.8;cursor:pointer}
.w3-half img:hover{opacity:1}
</style>
<body>
<!-- Sidebar/menu -->
<nav class="w3-sidebar w3-white w3-collapse w3-top w3-large w3-padding" style="z-index:3;width:300px;font-weight:bold;" id="mySidebar"><br>
<a href="javascript:void(0)" onclick="w3_close()" class="w3-button w3-hide-large w3-display-topleft" style="width:100%;font-size:22px">Close Menu</a>
<div class="w3-container">
<a href="/">
<img src="https://github.com/MegaTheLEGEND/html-m.a/blob/main/EmbeddedImage.png?raw=true" alt="logo" style="width:auto;height:100px;">
</a>
<h3 class="w3-padding-64"><b>MATH.assist</b></h3>
</div>
<div class="w3-bar-block">
<a href="./" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-grey">Home</a>
<a href="games/rr.html" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-grey">Fun stuff</a>
<a href="contact.html" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-grey">Contact</a>
<a href="about.html" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-grey">About</a>
<a href="disserver.html" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-grey">discord server</a>
<a href="https://classroom.google.com/c/NDY0NzI4Nzg0OTYy?cjc=uoetjll" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-grey">google classroom</a>
<a href="calculator.html" onclick="w3_close()" class="w3-bar-item w3-button w3-hover-grey">calculator</a>
</div>
</nav>
<!-- Top menu on small screens -->
<header class="w3-container w3-top w3-hide-large w3-black w3-xlarge w3-padding">
<a href="javascript:void(0)" class="w3-button w3-grey w3-margin-right" onclick="w3_open()">☰</a>
<span>discord server</span>
</header>
<!-- Overlay effect when opening sidebar on small screens -->
<div class="w3-overlay w3-hide-large" onclick="w3_close()" style="cursor:pointer" title="close side menu" id="myOverlay"></div>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:340px;margin-right:40px">
<!-- Header -->
<div class="w3-container" style="margin-top:80px" id="showcase">
<!-- End page content -->
</div>
<script>
// Script to open and close sidebar
function w3_open() {
document.getElementById("mySidebar").style.display = "block";
document.getElementById("myOverlay").style.display = "block";
}
function w3_close() {
document.getElementById("mySidebar").style.display = "none";
document.getElementById("myOverlay").style.display = "none";
}
// Modal Image Gallery
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
var captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
</script>
</body>
</html>
<style>
.button {
background-color: #5865F2; /* Green */
border: none;
color: white;
padding: 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
}
.button1 {border-radius: 4px;}
.button2 {border-radius: 4px;}
</style>
</head>
<body>
<button onclick="discord()" class="button button1">Open in discord</button>
<button onclick="un()" class="button button2">Atempt to open unblocked</button>
<script>
function discord() {
document.location.href = "https://discord.gg/KVTqcSgdtB";
}
</script>
<script>
function un() {
document.location.href = "https://its-me.ga/games/discordserver.html";
}
</script>