add background image
This commit is contained in:
parent
beb5fd2e15
commit
feb399162f
@ -1,7 +1,25 @@
|
||||
@media (min-width: 1200px) {
|
||||
.container {
|
||||
max-width: 970px;
|
||||
}
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.background {
|
||||
background-image: url('/img/background.jpg');
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
opacity: 0.1;
|
||||
height: 100%;
|
||||
max-height: 768px;
|
||||
width: 100%;
|
||||
z-index: -100;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.body-container {
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.news {
|
||||
@ -50,6 +68,16 @@
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
footer {
|
||||
.clearfloat {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.empty {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
footer {
|
||||
height: 50px;
|
||||
position: relative;
|
||||
margin: -50px auto 0;
|
||||
}
|
BIN
src/main/resources/public/img/background.jpg
Normal file
BIN
src/main/resources/public/img/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 135 KiB |
@ -1,9 +1,3 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{default}">
|
||||
<div class="container" layout:fragment="content">
|
||||
|
@ -21,7 +21,9 @@
|
||||
<link rel="stylesheet" href="/css/main.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-md navbar-light bg-white">
|
||||
<div class="body-container">
|
||||
<div class="background"></div>
|
||||
<nav class="navbar navbar-expand-md navbar-light bg-white">
|
||||
<a class="navbar-brand" href="/">
|
||||
<img src="/img/logo.svg" width="50px">
|
||||
<div class="navbar-text" th:text="#{messages.logo-title}" style="font-size: 16px"></div>
|
||||
@ -58,8 +60,8 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="wrapper">
|
||||
</nav>
|
||||
<div class="wrapper">
|
||||
<div id="content">
|
||||
<div class="container-fluid">
|
||||
<ul id="messages" class="feedback-panel">
|
||||
@ -70,7 +72,12 @@
|
||||
<div layout:fragment="content">
|
||||
</div>
|
||||
</div>
|
||||
<footer></footer>
|
||||
<div class="clearfloat"></div>
|
||||
<div class="empty"></div>
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
2022
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -1,20 +1,14 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{default}">
|
||||
<div class="container" layout:fragment="content">
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<a class="link-secondary" href="/docs/polozh.docx">
|
||||
<a class="link-dark" href="/docs/polozh.docx">
|
||||
Положение
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<a class="link-secondary" href="/docs/plan2022.docx">
|
||||
<a class="link-dark" href="/docs/plan2022.docx">
|
||||
План заседаний на 2022 год.
|
||||
</a>
|
||||
</li>
|
||||
|
@ -1,9 +1,3 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.w3.org/1999/xhtml"
|
||||
|
@ -1,9 +1,3 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.w3.org/1999/xhtml"
|
||||
layout:decorate="~{default}">
|
||||
|
@ -1,9 +1,3 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.w3.org/1999/xhtml"
|
||||
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5"
|
||||
|
@ -1,9 +1,3 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{default}">
|
||||
<div class="container" layout:fragment="content">
|
||||
|
@ -1,9 +1,3 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.w3.org/1999/xhtml"
|
||||
|
@ -1,9 +1,3 @@
|
||||
<!--
|
||||
~ Copyright (C) 2021 Anton Romanov - All Rights Reserved
|
||||
~ You may use, distribute and modify this code, please write to: romanov73@gmail.com.
|
||||
~
|
||||
-->
|
||||
|
||||
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
|
||||
<html
|
||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.w3.org/1999/xhtml"
|
||||
|
Loading…
Reference in New Issue
Block a user