Compare commits
4 Commits
c2641097b7
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| d698471fb8 | |||
| b4f66aa635 | |||
|
|
72be3434fc | ||
|
|
f424bfa9a0 |
@@ -237,10 +237,11 @@ fun runEmbeddedServer()
|
||||
}
|
||||
}
|
||||
|
||||
staticFiles("/admin", File(resourcesPath+"/admin.html"))
|
||||
staticFiles("/admin", File("$resourcesPath/admin.html"))
|
||||
staticFiles("/resources", File(resourcesPath))
|
||||
staticFiles("/", File(resourcesPath+"/index.html"))
|
||||
staticFiles("/about", File(resourcesPath+"/about.html"))
|
||||
staticFiles("/", File("$resourcesPath/index.html"))
|
||||
staticFiles("/style", File("$resourcesPath/style.css"))
|
||||
staticFiles("/about", File("$resourcesPath/about.html"))
|
||||
|
||||
put("/api/write/{id}")
|
||||
{
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
|
||||
<title>ScottGPT</title>
|
||||
<link rel="icon" type="image/x-icon" href="/resources/favicon.ico">
|
||||
<link rel="stylesheet" href="/resources/style.css">
|
||||
<link rel="stylesheet" href="/style">
|
||||
|
||||
</head>
|
||||
<body onload="javascript:init()" style="margin: 0; height: 100%; overflow: hidden;">
|
||||
@@ -14,15 +16,9 @@
|
||||
<header class="navbar">
|
||||
<a href="https://sc0tt.org/" style="float: left" target="_blank">Sc0tt főoldal</a>
|
||||
<a href="/about" style="float: left">About</a>
|
||||
<button onclick="genZ()" style="float: left;">Gen Z compatible site</button>
|
||||
<button onclick="genZ()" style="float: left;" class="funny">Gen Z compatible site</button>
|
||||
|
||||
<img src="resources/logo.png" alt=logo" style="float: right;">
|
||||
|
||||
<a href="javascript:void(0);"
|
||||
class="icon"
|
||||
onclick="toggleMenu()">
|
||||
☰
|
||||
</a>
|
||||
<img src="resources/logo.png" alt=logo" class="logo" style="float: right;">
|
||||
</header>
|
||||
|
||||
<iframe width="420" height="315"
|
||||
|
||||
@@ -2,6 +2,8 @@ body {
|
||||
background: #212121;
|
||||
color: white;
|
||||
font-family: Roboto, sans-serif;
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.about-content {
|
||||
@@ -21,18 +23,16 @@ body {
|
||||
}
|
||||
|
||||
.main-content {
|
||||
/*
|
||||
display: flex;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
box-sizing: border-box;*/
|
||||
|
||||
margin-top: 5%;
|
||||
margin-bottom: 0;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
height: 80vh;
|
||||
overflow-y: scroll;
|
||||
flex-grow: 8
|
||||
max-width: 100%;
|
||||
overflow-x: hidden;
|
||||
flex-grow: 8;
|
||||
|
||||
background: red;
|
||||
}
|
||||
@@ -63,7 +63,6 @@ body {
|
||||
}
|
||||
|
||||
.messages {
|
||||
margin-bottom: 10%;
|
||||
position: relative;
|
||||
display: flex;
|
||||
margin: 5px auto 0px auto;
|
||||
@@ -122,6 +121,7 @@ body {
|
||||
display: flex;
|
||||
margin: auto;
|
||||
width: 80%;
|
||||
|
||||
padding: 10px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
@@ -170,8 +170,6 @@ footer {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.navbar img {
|
||||
height: 32px;
|
||||
margin: auto 5px;
|
||||
@@ -181,7 +179,20 @@ footer {
|
||||
background-color: #545454;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.messages {
|
||||
width: 100%;
|
||||
}
|
||||
.message {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.funny {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar a.icon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user