Skip to content

Commit 1f0328c

Browse files
committed
css changes
1 parent 6c2e3dc commit 1f0328c

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

app/src/main/resources/templates/index.jte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
headTitle = "Главная страница",
99
content = @`
1010
<h1>Привет, ${page.getCurrentUser()}!</h1>
11-
<h3>Введите ссылку на сайт</h3>
11+
<h4>Введите ссылку на сайт</h4>
1212
<form action ="${NamedRoutes.urlsPath()}" method="post">
1313
<input type="url" name="url" value="${page.getUrl()}" required>
1414
<input type="submit" value="Проверить">

app/src/main/resources/templates/layout/page.jte

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,13 @@
2020

2121
<style>
2222
body {
23-
background-color: #f8f9fa;
23+
background-color: white;
2424
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
2525
padding: 20px;
2626
}
2727
2828
header {
29+
color: cornflowerblue
2930
margin-bottom: 20px;
3031
}
3132
@@ -37,7 +38,7 @@
3738
table {
3839
width: 100%;
3940
border-collapse: collapse;
40-
background-color: white;
41+
background-color: #fffcf7;
4142
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
4243
}
4344
@@ -76,21 +77,21 @@
7677
padding: 8px 16px;
7778
border-radius: 4px;
7879
border: none;
79-
background-color: #0d6efd;
80+
background-color: cornflowerblue;
8081
color: white;
8182
cursor:pointer;
8283
}
8384
8485
form input[type="submit"]:hover {
85-
background-color:#0b5ed7;
86+
background-color:cornflowerblue;
8687
}
8788
8889
footer {
8990
font-weight: bold;
9091
position:absolute;
9192
bottom:0;
9293
right:0;
93-
background-color:#0d6efd;
94+
background-color:cornflowerblue;
9495
color:white;
9596
padding:8px 6px;
9697
font-size:14px;

app/src/main/resources/templates/urls/index.jte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
page = page,
88
headTitle = "Добавленные сайты",
99
content = @`
10-
<h1>Добавленные сайты</h1>
1110
@if(page.getUrls().isEmpty())
12-
<p>Ещё не добавлено ни одного сайта</p>
11+
<h2>Ещё не добавлено ни одного сайта ( ͡° ʖ̯ ͡° )</h2>
1312
@else
13+
<h1>Добавленные сайты</h1>
1414
<table>
1515
<thead>
1616
<tr>

0 commit comments

Comments
 (0)