source: src/main/resources/templates/film.html@ b5ce654

Last change on this file since b5ce654 was b5ce654, checked in by DenicaKj <dkorvezir@…>, 23 months ago

Style updates

  • Property mode set to 100644
File size: 1.5 KB
Line 
1<style>
2 .genres{
3 width: 100px;
4 text-align: center;
5 background-color: #ff5019;
6 border-radius: 20px;
7 color: #111111;
8 font-size: 20px;
9 font-weight: 200;
10 margin: 20px;
11 }
12 .main{
13 display: flex;
14 justify-content: space-between;
15 align-items: flex-start;
16 margin-left: 100px;
17 }
18 .slika{
19 margin-right: 100px;
20 }
21 img{
22 width: 300px;
23 height: 350px;
24 border-radius: 20px;
25 }
26</style>
27<div xmlns:th="http://www.thymeleaf.org">
28<div class="main">
29 <div class="container-1">
30 <h1 style="color: white; font-weight: 600" class="name" th:text="${film.getName()}">
31 </h1>
32 <div th:each="genre : ${genres}" class="genres">
33 <span th:text="${genre}"></span>
34 </div>
35 <h4 style="color: white;"> Возрасна категорија:
36 <span th:text="${film.age_category}"></span>
37 </h4>
38 <h4 style="color: white"> Траење на филмот:
39 <span th:text="${film.duration}"></span>
40 минути
41 </h4>
42 <h4 style="color: white"> Режисер:
43 <span th:text="${film.director}"></span>
44 </h4>
45 <h4 style="color: white">
46 <span th:text="${rating}"></span>
47 <span>/5</span>
48 </h4>
49 </div>
50 <div class="slika">
51 <img th:src="@{${film.getUrl()}}"/>
52 </div>
53
54</div>
55</div>
Note: See TracBrowser for help on using the repository browser.