forked from NithinSS/fossmec.github.io
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
113 lines (101 loc) · 3.02 KB
/
index.html
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
---
layout: default
---
<style>
@media (min-width:0px) {
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 99%;
height: auto;
}
}
@media (min-width:480px) {
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: auto;
height: auto;
}
}
@media (min-width:1025px) {
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 60%;
height: auto;
}
}
@media (min-width:1281px) {
.modal-content {
background-color: #fefefe;
margin: auto;
padding: 20px;
border: 1px solid #888;
width: 60%;
height: auto;
}
}
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
</style>
<!-- One -->
<section id="one">
<div class="container">
<header class="major">
<h2>FOSSCELL MEC</h2>
</header>
<p>FOSSCELL of MEC was made to inherit the technical workings of the College into a more ordered working conditions under the club, and also to bring forth Open Source culture by having enthusiasts working with the club on different interesting softwares and projects, with people around the world.</p>
</div>
</section>
<div id="myModal" class="modal container-fluid">
<div class="modal-content" style="height:95%;">
<span class="close">×</span>
<h1 style="font-size: 24px;">Join our mailing list for updates.</h1>
<p style="height:90%;"><iframe src="https://docs.google.com/forms/d/e/1FAIpQLSfT3PioKmBjlD3ZNdmtHeCzoOZomnotuKMMPQX98D8pEhvyFQ/viewform?embedded=true" frameborder="0" marginheight="0" marginwidth="0" style="width:100%; height:100%;">Loading...</iframe></p>
</div>
</div>
<script>
if (! localStorage.noFirstVisti){
var modal = document.getElementById('myModal');
var span = document.getElementsByClassName("close")[0];
modal.style.display = "block";
span.onclick = function() {
modal.style.display = "none";
}
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
}
</script>