Skip to content

Commit 02f0d06

Browse files
committed
resources\css\: Fix errors raised by CSSLintBear
The commit fixes all the css related problems being raised by the CSSLintBear. Fixes #758
1 parent c1d5b95 commit 02f0d06

File tree

3 files changed

+42
-49
lines changed

3 files changed

+42
-49
lines changed

_layouts/report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<br>
8888
<div class="center sha256sum_hash">
8989
<strong>SHA-256</strong>:
90-
<p id="sha256sum_hash_value">
90+
<p class="sha256sum_hash_value">
9191
{{page.sha256sum}}
9292
</p>
9393
<i class="fa fa-clipboard" aria-hidden="true"><span class="hinttext">Copy Hash value</span></i>

resources/css/404.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
html, body {
2-
padding: 0;
3-
margin: 0;
4-
width: 100%;
52
height: 100%;
3+
margin: 0;
64
overflow-x: hidden;
5+
padding: 0;
6+
width: 100%;
77
}
88
main {
9+
align-items: center;
10+
background-color: #fafafa;
911
display: flex;
1012
flex-direction: row;
1113
justify-content: center;
12-
align-items: center;
13-
background-color: #fafafa;
1414
}
1515
main .container {
1616
padding: 3% 5%;
1717
}
1818
.error {
19-
margin-left: -12.5%;
2019
font-family: "Open Sans","Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
20+
margin-left: -12.5%;
2121
}
2222
.error .message {
23+
color: #004D40;
2324
display: block;
24-
font-weight: bold;
2525
font-size: 4.5vw;
26-
color: #004D40;
26+
font-weight: bold;
2727
}
2828
.error p {
2929
font-size: 2vw;
@@ -39,8 +39,8 @@ main .container {
3939
padding: 3%;
4040
}
4141
.coala-book {
42-
text-align: center;
4342
opacity: 0.85;
43+
text-align: center;
4444
}
4545
.coala-book img {
4646
width: 80%;

resources/css/style.css

Lines changed: 32 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.all-filters-option {
1+
.all-filters-option { /* Ignore CSSLintBear */
22
animation-duration: 1s;
33
animation-fill-mode: both;
44
background-color: white;
@@ -32,35 +32,35 @@
3232
display: none;
3333
}
3434
.evenly-spread-content {
35-
justify-content: space-evenly;
35+
justify-content: space-evenly; /* Ignore CSSLintBear */
3636
}
3737
.hash_value_dup {
38-
position: 'absolute';
39-
left: '-9999px';
38+
left: -9999px;
39+
position: absolute;
4040
}
4141
.hinttext {
42-
visibility: hidden;
43-
width: 120px;
4442
background-color: gray;
43+
border-radius: 6px;
4544
color: #fff;
46-
text-align: center;
45+
left: 60%;
46+
margin-left: -60px;
4747
padding: 5px 0;
48-
border-radius: 6px;
4948
position: absolute;
50-
z-index: 1;
49+
text-align: center;
5150
top: 95%;
52-
left: 60%;
53-
margin-left: -60px;
51+
visibility: hidden;
52+
width: 120px;
53+
z-index: 1;
5454
}
5555
.hinttext::after {
56-
content: " ";
57-
position: absolute;
56+
border-color: transparent transparent gray transparent;
57+
border-style: solid;
58+
border-width: 5px;
5859
bottom: 100%;
60+
content: " ";
5961
left: 50%;
6062
margin-left: -5px;
61-
border-width: 5px;
62-
border-style: solid;
63-
border-color: transparent transparent gray transparent;
63+
position: absolute;
6464
}
6565
.fa-clipboard:hover {
6666
cursor: pointer;
@@ -71,7 +71,7 @@
7171
.filter-projects-inputs {
7272
display: flex;
7373
flex-flow: row wrap;
74-
justify-content: space-evenly;
74+
justify-content: space-evenly; /* Ignore CSSLintBear */
7575
margin-top: 1rem;
7676
}
7777
.filter-btn {
@@ -91,14 +91,14 @@
9191
}
9292
.filter-select-fields {
9393
justify-content: space-around;
94-
padding-top: 20px;
9594
padding-bottom: 10px;
95+
padding-top: 20px;
9696
width: 100%;
9797
}
9898
.footer-icons {
9999
display: flex;
100100
flex-wrap: wrap;
101-
justify-content: space-evenly;
101+
justify-content: space-evenly; /* Ignore CSSLintBear */
102102
line-height: 3em;
103103
}
104104
.gsoc-students {
@@ -120,12 +120,12 @@ nav {
120120
width: 50px;
121121
}
122122
.project-detail-element > .clickable:hover, .clickable:hover .chip:hover {
123-
cursor: pointer;
124123
background-color: #f3f5f8;
124+
cursor: pointer;
125125
}
126126
.report .card {
127-
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.0), 0 1px 1px 0 rgba(0, 0, 0, 0.0), 0 1px 1px 0px rgba(0, 0, 0, 0.05);
128-
margin-bottom: 0 !important;
127+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.0), 0 1px 1px 0 rgba(0, 0, 0, 0.0), 0 1px 1px 0 rgba(0, 0, 0, 0.05);
128+
margin-bottom: 0;
129129
}
130130
.report {
131131
background-color: #f3f5f8;
@@ -143,14 +143,14 @@ nav {
143143
height: 100%;
144144
}
145145
.report .blog-title {
146-
letter-spacing: 0.1em;
147146
font-weight: 500;
147+
letter-spacing: 0.1em;
148148
text-align: center;
149149
}
150150
.report .links-section a {
151-
text-decoration: none;
152151
color: lightslategray;
153152
padding: 0.1em;
153+
text-decoration: none;
154154
}
155155
.report .row {
156156
display: -webkit-box;
@@ -159,7 +159,7 @@ nav {
159159
display: flex;
160160
flex-wrap: wrap;
161161
}
162-
.report .row > [class*='col'] {
162+
.report .row > [class*='col'] { /* Ignore CSSLintBear */
163163
display: flex;
164164
flex-direction: column;
165165
}
@@ -174,7 +174,7 @@ nav {
174174
text-align: center;
175175
}
176176
.report .card {
177-
word-break: break-word;
177+
word-break: break-word; /* Ignore CSSLintBear */
178178
}
179179
.report td p {
180180
display: inline;
@@ -183,11 +183,11 @@ nav {
183183
border-bottom: 1px solid aliceblue;
184184
}
185185
.report-url a {
186-
color: #f57f17 !important;
186+
color: #f57f17;
187187
}
188188
@media only screen and (min-width: 993px) {
189189
.container {
190-
width: 90% !important;
190+
width: 90%;
191191
}
192192
.for-mobile {
193193
display: none;
@@ -198,20 +198,14 @@ nav {
198198
display: none;
199199
}
200200
}
201-
.ribbon {
202-
position: absolute;
203-
top: 0; right: 0;
204-
border: 0;
205-
z-index: 9;
206-
}
207201
.searchbar {
208-
width: 85%;
209-
min-width: 340px;
210202
margin-top: 0;
203+
min-width: 340px;
204+
width: 85%;
211205
}
212206
.sha256sum_hash {
213207
display: flex;
214-
justify-content: space-evenly;
208+
justify-content: space-evenly; /* Ignore CSSLintBear */
215209
}
216210
.students {
217211
padding: 0 20px;
@@ -220,8 +214,7 @@ nav {
220214
padding-left: 0.5em;
221215
padding-right: 0.5em;
222216
}
223-
224-
#sha256sum_hash_value {
217+
.sha256sum_hash_value {
225218
word-wrap: break-word;
226219
}
227220
@-webkit-keyframes fade-in {

0 commit comments

Comments
 (0)