Skip to content

Commit 3b79306

Browse files
author
fabianmoronzirfas
committed
style(some css fiddling):
1 parent 6ac3f19 commit 3b79306

File tree

9 files changed

+5166
-113
lines changed

9 files changed

+5166
-113
lines changed

_sass/_reference.scss

Lines changed: 55 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
$guidecolor: #9636FC;
2+
$dottedline: 1px dotted $guidecolor;
3+
$solidline: 1px solid $guidecolor;
14
.index {
25
column-width: 250px;
36
}
@@ -25,22 +28,23 @@ h1#new-cat-index {
2528

2629
.sub-category {
2730
column-width: 250px;
28-
column-rule: 1px dotted #9636FC;
31+
// column-rule: $dottedline;
2932
// column-gap: 1em;
30-
/* border-bottom: 1px dotted #9636FC; */
33+
/* border-bottom: $dottedline; */
3134
}
3235

3336
#toc-categories {
3437
column-width: 250px;
3538
padding-bottom: 3em;
36-
/* border-bottom: 1px dotted #9636FC; */
39+
/* border-bottom: $dottedline; */
3740
}
3841

39-
.heading-sub-category{
42+
.heading-sub-category {
4043
padding-bottom: 1em;
4144
}
45+
4246
.heading-category {
43-
border-top: 1px dotted #9636FC;
47+
border-top: $dottedline;
4448
}
4549

4650
.cat {
@@ -62,18 +66,20 @@ h1#new-cat-index {
6266

6367
.box-drawings {
6468
font-weight: bold;
65-
color: #9636FC;
69+
color: $guidecolor;
6670
}
6771

6872

6973
/* .entry-heading{
7074
margin-top: 0;
7175
} */
72-
.ref-entry{
76+
77+
.ref-entry {
7378
padding-bottom: 1em;
74-
height:7.5em;
79+
height: 7.5em;
7580
padding-left: 0.2em;
7681
}
82+
7783
.summary,
7884
.ref-entry {
7985
break-inside: avoid;
@@ -84,9 +90,9 @@ h1#new-cat-index {
8490
// height: 4.5em;
8591
margin-top: 0.2em;
8692
font-size: 1.1em;
87-
margin-bottom:0;
93+
margin-bottom: 0;
8894
line-height: 1.25em;
89-
code{
95+
code {
9096
padding: 0;
9197
vertical-align: bottom;
9298
font-size: 0.9em;
@@ -95,17 +101,16 @@ h1#new-cat-index {
95101

96102
#flex-search {
97103
display: flex;
98-
* {
99-
margin-right: 0.5em;
100-
}
101-
button {
102-
margin-right: 0 !important;
103-
background-color: white;
104-
background: white;
105-
background-image: none;
106-
border: 1px solid #9636FC;
107-
}
108-
104+
* {
105+
margin-right: 0.5em;
106+
}
107+
button {
108+
margin-right: 0 !important;
109+
background-color: white;
110+
background: white;
111+
background-image: none;
112+
border: $solidline;
113+
}
109114
}
110115

111116
.flex-search-item,
@@ -116,55 +121,54 @@ h1#new-cat-index {
116121

117122
input.flex-search-item {
118123
flex-grow: 2;
119-
border: 1px solid #9636FC;
124+
border: $solidline;
120125
}
121126

122127
button.flex-search-item {
123128
flex-grow: 1;
129+
&:hover {
130+
background: $guidecolor !important;
131+
color: white;
132+
}
133+
&:active {
134+
background: black !important;
135+
}
124136
}
125137

126-
button.flex-search-item:hover {
127-
background: #9636FC !important;
128-
color: white;
129-
}
130-
131-
button.flex-search-item:active {
132-
background: black !important;
133-
}
134-
135-
#flex-search-results> .search-result-container > .ref-entry {
136-
padding-top: 0.5em;
137-
border-top: 1px dotted #9636FC;
138-
}
139-
140-
#flex-search-results>.search-result-container>.ref-entry > p.summary {
141-
min-height: 0;
142-
}
143-
144-
.search-result-container {
145-
padding-top: 1em;
138+
#flex-search-results {
139+
.search-result-container {
140+
padding-top: 1em;
141+
.ref-entry {
142+
padding-top: 0.5em;
143+
border-top: $dottedline;
144+
p.summary {
145+
min-height: 0;
146+
}
147+
}
148+
}
146149
}
147150

148-
#advanced-search-hint{
149-
input{
150-
display:none;
151+
#advanced-search-hint {
152+
input {
153+
display: none;
151154
}
152-
label{
155+
label {
153156
font-style: italic;
154-
border-bottom: 1px solid #9636FC;
157+
border-bottom: $solidline;
155158
// text-decoration: underline;
156-
&:hover{
159+
&:hover {
157160
background-image: url("/assets/images/stripe_c40ccfac0db9e43c48e95a530d787366.png");
158161
}
159162
}
160163
}
161-
#advanced-search-hint input[type="checkbox"]:checked + div {
164+
165+
#advanced-search-hint input[type="checkbox"]:checked+div {
162166
opacity: 0;
163167
max-height: 0;
164168
border: none;
165-
}
169+
}
166170

167-
#advanced-search-text{
171+
#advanced-search-text {
168172
max-height: 99em;
169173
height: auto;
170174
opacity: 1;

assets/css/styles.sass

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ body
120120

121121
// //////////////// edits fabian moron zirfas
122122
123+
p
124+
code
125+
padding: 0
126+
// vertical-align: bottom
127+
font-size: 0.9em
128+
123129
.fhnw-logo
124130

125131
a

assets/js/main.bundle.js

Lines changed: 522 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/main.bundle.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)