Skip to content

Commit 2330e6b

Browse files
committed
Changed Colors
1 parent 1d094c5 commit 2330e6b

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/main/resources/index.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<style>
1111
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&family=Rubik&display=swap');
1212
body {
13-
background-color: #1d3557;
13+
background-color: #3d5a80;
1414
}
1515
.main {
1616
width: 100vw;
@@ -20,14 +20,15 @@
2020
align-items: center;
2121
}
2222
.container {
23-
background-color: #a8dadc;
23+
background-color: #293241;
2424
width: 20vw;
2525
padding: 20px;
2626
border-radius: 10px;
27-
box-shadow: 1px 1px 20px 1px rgba(0, 0, 0, 0.7);
27+
box-shadow: 10px 10px 20px 1px rgba(0, 0, 0, 0.5);
2828
text-align: center;
2929
}
3030
* {
31+
color: white;
3132
margin: 0;
3233
font-family: "Roboto", sans-serif;
3334
}
@@ -41,8 +42,7 @@
4142
border-radius: 5px;
4243
color: white;
4344
font-weight: bold;
44-
background-color: #e63946;
45-
box-shadow: 1px 1px 8px 1px rgba(0, 0, 0, 0.7);
45+
background-color: #ee6c4d;
4646
margin: 10px;
4747
}
4848
.button-area {
@@ -51,25 +51,25 @@
5151
justify-content: space-between;
5252
}
5353
a {
54-
color: black;
55-
text-decoration: underline;
54+
color: #98c1d9;
55+
text-decoration: none;
5656
}
5757
</style>
5858
<body>
5959
<div class="main">
6060
<div class="container">
6161
<h1>Hello Developer!</h1>
6262
<br>
63-
<p>Welcome to my simple Kotlin Api Example build with Ktor. <a href="https://github.com/jakkoble/KotlinApiExample/">Link</a></p>
63+
<p>Welcome to my simple Kotlin Api Example build with Ktor. For tutorial have a look at my <a href="https://github.com/jakkoble/KotlinApiExample/">comment Source Code</a>.</p>
6464
<br>
6565
<div class="button-area">
6666
<button id="put" onclick="sendRequest('POST')">Add a Cherry</button>
6767
<button id="delete" onclick="sendRequest('DELETE')">Remove a Cherry</button>
6868
</div>
6969
<br>
70-
<a href="localhost:8080/fruits" target="_blank">Link to the Fruit List</a>
70+
<a href="http://localhost:8080/fruits" target="_blank">Link to the Fruit List</a>
7171
<br><br>
72-
<a style="text-decoration: none;" href="https://jakkoble.de">by Jakkoble</a>
72+
<a style="color: white; text-decoration: underline" href="https://jakkoble.de" target="_blank">by Jakkoble</a>
7373
</div>
7474
</div>
7575
<script>
@@ -82,7 +82,7 @@ <h1>Hello Developer!</h1>
8282
"favorite": false
8383
}`
8484
request.send(data)
85-
alert("Successfully send your Request, go to 'localhost:8080/fruits' to view result.")
85+
alert("Sucessfully send!")
8686
}
8787
</script>
8888
</body>

0 commit comments

Comments
 (0)