-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
113 lines (94 loc) · 2.42 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ScalaJS Offline example</title>
<style>
* {
box-sizing: border-box;
}
html {
font-size: 12px;
font-family: 'Roboto', sans-serif;
}
body {
font-size: 13px;
line-height: 20px;
margin: auto;
}
textarea {
border : 1px solid #eee;
outline: none;
}
textarea:focus
{
border: 1px solid #ffefcc;
}
ul {
list-style: none;
}
input {
padding : 2px;
}
h3 {
padding-top: 30px;
text-align: center;
}
.homePage {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
}
.homePage div {
flex-basis: 50%;
height : 100%
}
.todoWrapper {
background-color: rgb(240, 163, 20);
padding : 40px;
}
.reposWrapper {
color : rgb(226, 222, 222);
background-color: rgb(240, 89, 76);
padding : 40px;
}
.homePage div .todoapp {
display : flex;
flex-direction: column;
justify-content: center;
align-items: center;
height : 70%;
box-shadow: 0 2px 4px rgb(105, 96, 96);
}
.homePage div .repos {
height: 85%;
overflow-y: auto;
overflow-x: auto;
/*box-shadow: 0 2px 4px blue;*/
}
.repos a {
color :rgb(71, 67, 59);
font-size: 16px;
text-decoration: none;
}
</style>
</head>
<body>
<div id="container"></div>
<script>
function hola(event) {
console.log("man its possible + " + event)
}
</script>
<!-- Include JavaScript dependencies -->
<script type="text/javascript" src="js/scalajs-offline-jsdeps.js"></script>
<!-- Include Scala.js compiled code -->
<script type="text/javascript" src="js/scalajs-offline-opt.js"></script>
<!-- Run JSApp -->
<script>chandu0101.scalajs.offline.ReactApp().main()</script>
</body>
</html>