This commit is contained in:
pawel 2024-05-17 09:40:03 +02:00
parent 2455fa869f
commit 7e73a7cea6
4 changed files with 61 additions and 6 deletions

View File

View File

@ -4,6 +4,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sortowanie Sufiksów</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Sortowanie Sufiksów</h1>
@ -13,9 +15,7 @@
<pre id="nieposortowane"></pre>
<h2>Posortowane Sufiksy</h2>
<pre id="posortowane"></pre>
<script src="js.js">
</script>
<script src="js.js"></script>
</body>

58
styles.css Normal file
View File

@ -0,0 +1,58 @@
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
color: #333;
margin: 0;
padding: 20px;
line-height: 1.6;
}
h1 {
text-align: center;
color: #0056b3;
margin-bottom: 20px;
}
input[type="text"] {
width: calc(100% - 22px);
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button {
display: block;
width: 100%;
padding: 10px;
background-color: #0056b3;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background-color: #004494;
}
h2 {
color: #0056b3;
border-bottom: 2px solid #0056b3;
padding-bottom: 5px;
margin-top: 20px;
}
pre {
background-color: #fff;
border: 1px solid #ccc;
padding: 10px;
border-radius: 4px;
overflow-x: auto;
}

View File

@ -1,3 +0,0 @@
2247cb473670da4439f474d40c3120657b59f077