Skip to content

Commit becaa12

Browse files
committed
continue improving tutorial 1
1 parent 03dc265 commit becaa12

File tree

3 files changed

+547
-9
lines changed

3 files changed

+547
-9
lines changed

docs/sphinx/source/_static/custom.css

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,25 @@
4747
mask-image: var(--icon--info);
4848
}
4949

50+
/* New non-title information admonition */
51+
.admonition.non-title-info > .admonition-title {
52+
display: none; /* Hide the title */
53+
}
54+
55+
.admonition.non-title-info {
56+
background-color: #2962ff10;
57+
border-color: #2963ff;
58+
font-size: 13pt;
59+
}
60+
61+
.admonition.non-title-info > .admonition-content {
62+
color: #4b2d83; /* Purple text color for contrast */
63+
}
64+
65+
.admonition.non-title-info > .admonition-title::before {
66+
content: ''; /* No icon needed, as there's no title */
67+
}
68+
5069
:root { /*https://fontawesomeicons.com/svg/icons/info*/
5170
--icon--patreon: url('data:image/svg+xml;charset=utf-8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> <g> <path fill="none" d="M0 0h24v24H0z"/> <path d="M15 17a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15zM2 2h4v20H2V2z"/> </g> </svg>')
5271
}
@@ -130,4 +149,8 @@ a:active {
130149

131150
section {
132151
text-align: justify;
133-
}
152+
}
153+
154+
155+
156+

docs/sphinx/source/shared/cite.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
If you find these tutorials useful for your research or simulations, you can
2-
cite: A Set of Tutorials for the LAMMPS Simulation Package by Simon Gravelle,
1+
If you find these tutorials useful, you can
2+
cite *A Set of Tutorials for the LAMMPS Simulation Package* by Simon Gravelle,
33
Jacob R. Gissinger, and Axel Kohlmeyer (2025) :cite:`gravelle2025tutorials`. You
44
can access the full paper on |gravelle2025tutorials_arXiv|.
55

0 commit comments

Comments
 (0)