Skip to content

Commit 6b41d6a

Browse files
committed
update theme style
1 parent c221b00 commit 6b41d6a

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

themes/mytheme/layouts/_default/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
{{ partial "site-nav.html" }}
1818
</div>
1919

20-
<div class="main-content col-lg-9 col-xl-6 px-5 py-4" id="mainContent">
20+
<div class="main-content col-lg-9 col-xl-6 px-lg-5 px-3 py-4" id="mainContent">
2121
<div class="main-content">
2222
{{ .Content }}
2323
</div>

themes/mytheme/static/css/style.css

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,22 @@
5858

5959
/* Main content style */
6060
.tips, .notes, .warning {
61-
padding: 15px 20px;
62-
border: 1px solid white;
63-
background-color: rgb(45, 31, 58);
64-
margin-bottom: 2%;
61+
padding: 10px 20px;
62+
margin-bottom: 3%;
63+
margin-top: 3%;
64+
background-color: rgb(33, 37, 41);
6565
}
6666

6767
.tips {
68-
border-radius: 30px;
68+
border-left: 3px solid greenyellow;
69+
}
70+
71+
.notes {
72+
border-left: 3px solid #3b82f6;
73+
}
74+
75+
.warning {
76+
border-left: 3px solid orange;
6977
}
7078

7179
.btn-dark {

0 commit comments

Comments
 (0)