Skip to content

Commit

Permalink
Add styles to Thymeleaf application
Browse files Browse the repository at this point in the history
  • Loading branch information
lulunac27a committed Jul 6, 2024
1 parent 8d391af commit fb7297a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions datetime-thymeleaf/src/main/resources/templates/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* {
font-family: system-ui; /*use system based font*/
}
#output {
font-weight: bold; /*bold the date and time output values*/
}
1 change: 1 addition & 0 deletions datetime-thymeleaf/src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<head>
<title>Print Date and Time in All Supported Formats using Thymeleaf</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<h1>Print Date and Time in All Supported Formats using Thymeleaf</h1>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!doctype html>
<head>
<title>Entered Date and Time Output</title>
<link rel="stylesheet" href="index.css" />
</head>
<body>
<h1>Output:</h1>
Expand Down

0 comments on commit fb7297a

Please sign in to comment.