Skip to content

Commit 54da506

Browse files
committed
comments added to the changes
1 parent 1f20ec2 commit 54da506

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

doc/themes/scikit-learn/static/nature.css_t

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,21 @@ div.navbar ul li a:hover {
9494
color: #EEE;
9595
}
9696

97+
/*-------------------------------------------------------------*/
98+
/* The next few elements have to do with the gsc (referring to */
99+
/* Google's custom search bar */
100+
97101
.gsc-input {
98102
width: 180px;
99103
float: right;
100104
}
101105

102106
.search_form {
103107
margin-top: -23px;
108+
/*The min-height is added here, to prevent the element from shrinking
109+
too much, while the scripts are still loading the search-bar.
110+
Without it, layout glitches occur, as the element keeps dynamically
111+
changing it's size while its loading-contents adjusts into position.*/
104112
min-height: 42px;
105113
}
106114

@@ -112,6 +120,8 @@ div.navbar ul li a:hover {
112120
display: none;
113121
}
114122

123+
/*---------------------------------------------------------------*/
124+
115125
.quote {
116126
text-align: right;
117127
line-height: 1.5em;

0 commit comments

Comments
 (0)