Skip to content

Commit 43e8740

Browse files
author
Philipp Pracht
committed
Added stuff for example 22
1 parent 550f094 commit 43e8740

File tree

12 files changed

+877
-181
lines changed

12 files changed

+877
-181
lines changed

_data/keywords.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,13 @@ sortingsettings:
473473
text: Example X.
474474
link: /page/examples/
475475

476-
- cmd: --notopo
476+
- cmd: --notopo [atomlist]
477477
anchor: notopo
478478
descript: >
479479
Turn off the topology checks in CREGEN for structures in the ensemble.
480+
The optional `[atomlist]` argument can be used to select specific atoms
481+
that should be ignored in the topology checks.
482+
For the `atomlist` format see the [**Input Formats**](coords.html#atomlists) section.
480483
Do not confuse with
481484
url:
482485
text: "`--noreftopo` <i class='fa-solid fa-triangle-exclamation'></i>"
@@ -604,12 +607,14 @@ constrainment:
604607
descript: >
605608
Specify a `<FILE>` with additional constraints in the xTB syntax.
606609
607-
- cmd: --constrain <atom list>
610+
- cmd: --constrain <atomlist>
608611
descript: >
609612
Set up an example file in which the atoms in `<atom list>` shall be constrained.
610613
The file will be called `.xcontrol.sample`. No calculations will be performed and
611614
the run is aborted after this sample is written. The written file can be read
612-
with the `--cinp` option. See
615+
with the `--cinp` option.
616+
For specifications on the `atomlist` format
617+
see the [**Input Formats**](coords.html#atomlists) section.
613618
614619
- cmd: --cbonds [REAL]
615620
descript: >

_includes/head_custom.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap-grid.css">
1818
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bootstrap-utilities.css">
1919

20-
<!-- all that custom stuff -->
20+
21+
22+
<!-- all other custom CSS stuff -->
2123
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/customstyles.css">
2224

2325

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,6 @@ <h2 class="text-delta">Table of contents</h2>
200200
</div>
201201
</body>
202202
</html>
203-
203+
<!-- MathJax to render LaTeX Equations -->
204204
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
205205
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

_sass/color_schemes/custom.scss

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ $border-color: $grey-lt-300;
88

99
$content-width: 850px;
1010

11-
$table-header-color: $grey-lt-000;
11+
$card-color: $grey-lt-100;
1212

13+
$table-header-color: $grey-lt-000;
1314

15+
// For Tab menues
16+
$tab-header-color: $grey-lt-300;

_sass/custom/custom.scss

+178
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,181 @@ th {
1414

1515

1616

17+
// a simple "card object"
18+
$card-color: $body-background-color !default;
19+
.card {
20+
/* Add shadows to create the "card" effect */
21+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* this adds the "card" effect */
22+
transition: 0.3s;
23+
background-color: $card-color;
24+
margin-bottom: 10px;
25+
position: relative;
26+
border-radius: 10px;
27+
}
28+
29+
/* On mouse-over, add a deeper shadow for card */
30+
.card:hover {
31+
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
32+
}
33+
34+
35+
36+
/* format figure caption */
37+
figcaption {
38+
39+
margin-bottom:20px;
40+
font-style: italic;
41+
color: $grey-dk-000;
42+
text-align: left;
43+
44+
}
45+
46+
47+
48+
49+
// Definitions of TABS
50+
$tab-header-color: $grey-lt-200 !default;
51+
.tab {
52+
overflow: hidden;
53+
background-color: $tab-header-color;
54+
border-radius: 10px;
55+
}
56+
57+
/* Style the buttons that are used to open the tab content */
58+
.tab button {
59+
background-color: inherit;
60+
float: left;
61+
border: none;
62+
outline: none;
63+
cursor: pointer;
64+
padding: 14px 16px;
65+
transition: 0.3s;
66+
}
67+
68+
/* Change background color of buttons on hover */
69+
.tab button:hover {
70+
background-color: darken($tab-header-color, 5%);
71+
}
72+
73+
/* Create an active/current tablink class */
74+
.tab button.active {
75+
background-color: darken($tab-header-color, 10%);
76+
}
77+
78+
/* Style the tab content */
79+
.tabcontent {
80+
display: none;
81+
padding: 6px 12px;
82+
border: 1px solid $border-color;
83+
border-top: none;
84+
margin-bottom: 20px;
85+
}
86+
/* Tab fading effect of 1 second */
87+
.tabcontent {
88+
animation: fadeEffect 1s;
89+
}
90+
/* Go from zero to full opacity */
91+
@keyframes fadeEffect {
92+
from {opacity: 0;}
93+
to {opacity: 1;}
94+
}
95+
96+
97+
// Define Alert and notification blocks
98+
.alert {
99+
padding: 15px;
100+
margin-bottom: 20px;
101+
border: 1px solid transparent;
102+
border-radius: 4px
103+
}
104+
105+
.alert h4 {
106+
margin-top: 0;
107+
color: inherit
108+
}
109+
110+
.alert .alert-link {
111+
font-weight: 700
112+
}
113+
114+
.alert>p,
115+
.alert>ul {
116+
margin-bottom: 0
117+
}
118+
119+
.alert>p+p {
120+
margin-top: 5px
121+
}
122+
123+
.alert-dismissable,
124+
.alert-dismissible {
125+
padding-right: 35px
126+
}
127+
128+
129+
.alert-dismissable .close,
130+
.alert-dismissible .close {
131+
position: relative;
132+
top: -2px;
133+
right: -21px;
134+
color: inherit
135+
}
136+
137+
.alert-success {
138+
color: #3c763d;
139+
background-color: #dff0d8;
140+
border-color: #d6e9c6
141+
}
142+
143+
.alert-success hr {
144+
border-top-color: #c9e2b3
145+
}
146+
147+
.alert-success .alert-link {
148+
color: #2b542c
149+
}
150+
151+
.alert-info {
152+
color: #31708f;
153+
background-color: #d9edf7;
154+
border-color: #bce8f1
155+
}
156+
157+
.alert-info hr {
158+
border-top-color: #a6e1ec
159+
}
160+
161+
.alert-info .alert-link {
162+
color: #245269
163+
}
164+
165+
.alert-warning {
166+
color: #8a6d3b;
167+
background-color: #fcf8e3;
168+
border-color: #faebcc
169+
}
170+
171+
.alert-warning hr {
172+
border-top-color: #f7e1b5
173+
}
174+
175+
.alert-warning .alert-link {
176+
color: #66512c
177+
}
178+
179+
.alert-danger {
180+
color: #a94442;
181+
background-color: #f2dede;
182+
border-color: #ebccd1
183+
}
184+
185+
.alert-danger hr {
186+
border-top-color: #e4b9c0
187+
}
188+
189+
.alert-danger .alert-link {
190+
color: #843534
191+
}
192+
193+
194+

0 commit comments

Comments
 (0)