Skip to content

Commit af6af31

Browse files
Dedelweissckipp01
authored andcommitted
Correct the CSS files for the anchors, the warning and the images
- Anchors: Remove the color of the anchors, the file content css is enough - Warning: Remove the color, banners.css is enough - Images: Add a width 100% and height auto to not overlaps
1 parent 0f031cd commit af6af31

File tree

1 file changed

+5
-24
lines changed

1 file changed

+5
-24
lines changed

docs/_assets/css/dottydoc.css

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ main.container {
1414
height: auto;
1515
}
1616

17+
.site-container img{
18+
width: 100%;
19+
height: auto;
20+
}
21+
1722
/* headers */
1823
main header {
1924
border-bottom: 1px solid rgba(0,0,0,.1);
@@ -45,21 +50,6 @@ ul.post-list {
4550
margin-bottom: 0;
4651
}
4752

48-
/* headings anchors */
49-
a.anchor {
50-
color: transparent;
51-
margin-left: -23px;
52-
padding-right: 3px;
53-
transition: color .4s ease-out;
54-
}
55-
56-
a.anchor::before {
57-
content: "\f0c1";
58-
font-family: "Font Awesome 5 Free";
59-
font-weight: 900;
60-
font-size: 20px;
61-
}
62-
6353
h1:hover a.anchor,
6454
h2:hover a.anchor,
6555
h3:hover a.anchor,
@@ -191,15 +181,6 @@ blockquote {
191181
border-left: 0.25em solid #ddd;
192182
}
193183

194-
aside {
195-
padding: 15px;
196-
margin: 10px 0;
197-
}
198-
199-
aside.warning {
200-
border-left: 3px solid var(--red500);
201-
background-color: var(--aside-warning-bg);
202-
}
203184

204185
aside.notice {
205186
border-left: 3px solid #4c97e4;

0 commit comments

Comments
 (0)