Skip to content

Commit 538981d

Browse files
authored
Merge pull request #9 from KodeStar/master
Fixes to styling
2 parents 110b62c + 72e9240 commit 538981d

2 files changed

Lines changed: 34 additions & 24 deletions

File tree

ci/index.html

100755100644
Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="description" content="CI Results">
99
<meta name="author" content="linuxserver.io">
1010
<meta name="viewport" content="width=device-width, initial-scale=1.0">
11-
<link href="https://fonts.googleapis.com/css?family=Lato:300,400&display=swap" rel="stylesheet">
11+
<link href="https://fonts.googleapis.com/css?family=Lato:400,700&display=swap" rel="stylesheet">
1212
<style>
1313
body,html {
1414
padding: 0;
@@ -50,62 +50,70 @@
5050
h1 span {
5151
color: #9bb0bf;
5252
}
53-
.section, .content {
54-
width: 100%;
55-
max-width: 600px;
56-
display: flex;
57-
align-items: center;
58-
background: #efefef;
59-
justify-content: space-between;
60-
text-decoration: none;
61-
margin: 10px;
62-
box-shadow: 0 0 10px rgba(0,0,0,0.05);
63-
}
6453

6554
#results h1 {
6655
font-size: 25px;
6756
margin: 0 0 25px;
6857
}
6958
section {
7059
display: flex;
71-
width: 30%;
60+
width: 100%;
7261
flex-direction: column;
7362
margin: 10px;
7463
background: #efefef;
7564
box-shadow: 0 0 10px rgba(0,0,0,0.05);
7665
min-width: 320px;
66+
max-width: 600px;
7767
padding: 0 0 30px 0;
68+
flex: 1 1 0;
7869
}
7970
section > * {
80-
padding: 0 20px;
71+
padding: 0 30px;
8172
}
8273
section h2 {
83-
font-size: 18px;
74+
font-size: 17px;
8475
background: #f5f5f5;
85-
padding: 5px 20px;
76+
padding: 5px 30px;
8677
margin: 0;
87-
height: 90px;
78+
height: 70px;
8879
display: flex;
8980
align-items: center;
9081
}
91-
section h2 + p {
82+
83+
/* No image */
84+
section h2 + h3 {
85+
border-bottom: 1px solid #dcdcdc;
86+
padding-bottom: 20px;
87+
background: #f5f5f5;
9288
margin: 0;
89+
font-size: 12px;
90+
word-break:break-all;
9391
}
92+
/* Has an image */
9493
section h2 + p + h3 {
95-
margin: 0;
96-
padding: 20px;
94+
border-bottom: 1px solid #dcdcdc;
95+
padding: 20px 30px;
9796
background: #f5f5f5;
97+
margin: 0;
98+
font-size: 12px;
99+
word-break:break-all;
100+
}
101+
section h2 + p {
102+
margin: 0;
98103
}
99104

105+
section p:empty {
106+
display: none;
107+
}
100108
section h3 {
101109
font-size: 16px;
102-
padding: 0 20px;
110+
padding: 0 30px;
103111
}
104112
section img {
105-
width: calc(100% + 40px);
113+
width: calc(100% + 60px);
106114
height: auto;
107-
margin-left: -20px;
108-
margin-right: -20px;
115+
margin-left: -30px;
116+
margin-right: -30px;
109117
padding: 0;
110118
display: block;
111119
}
@@ -118,6 +126,7 @@
118126
justify-content: center;
119127
align-items: flex-start;
120128
flex-wrap: wrap;
129+
margin-top: 25px;
121130
}
122131

123132
@media only screen and (min-width: 500px) {

ci/results.template

100755100644
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
| Test | Result |
66
| ----------------------- | --- |{% for test in report_tests %}
77
| {{ test[0] }} | {{ test[1] }} |{% endfor %}
8+
89
<main>
910
{% for container in report_containers %}
1011
<section markdown="1">

0 commit comments

Comments
 (0)