Skip to content

Commit 9ea4714

Browse files
committed
update css
1 parent 107e563 commit 9ea4714

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

compare50/_renderer/static/match.css

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body {
1212
}
1313

1414
.wrapper {
15-
margin-top: 4em;
15+
margin-top: 3em;
1616
}
1717

1818
.view {
@@ -57,7 +57,7 @@ pre {
5757
border-top: 0;
5858
max-width:100%;
5959
width: 100%;
60-
height: calc(100vh - 4em);
60+
height: calc(100vh - 3em);
6161
}
6262

6363
.right {
@@ -68,7 +68,7 @@ pre {
6868
border-top: 0;
6969
max-width:100%;
7070
width: 100%;
71-
height: calc(100vh - 4em);
71+
height: calc(100vh - 3em);
7272
}
7373

7474
.fragment:before {
@@ -129,7 +129,8 @@ pre {
129129
z-index: 1000;
130130
display: flex;
131131
align-items: center;
132-
justify-content: space-evenly;
132+
gap: 0.5em;
133+
justify-content: normal;
133134
}
134135

135136
#next_prev_match {
@@ -140,15 +141,12 @@ pre {
140141
margin: 0;
141142
}
142143

143-
.matches_group {
144-
margin-bottom: .4em;
145-
}
146-
147144
.brand {
148145
text-align: center;
149146
vertical-align: middle;
150147
height: 2.20em;
151148
margin: 0;
149+
padding-right: 25%;
152150
}
153151

154152
a.index-link {

compare50/_renderer/templates/match_page.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
<body>
1313
<div class="wrapper" id="page">
1414
<nav class="bg-dark text-center" id="sidebar">
15+
<div class="bg-dark text-center brand text-light">
16+
<h4><a href="index.html" class="index-link"><b>compare50</b></a></h4>
17+
</div>
1518
<div class="text-light id" id="{{id}}">{{id}} / {{max_id}}</div>
1619
<div class="btn-group" role="group" aria-label="NextPrev" id="next_prev_match">
1720
<button type="button" class="btn btn-outline-light prev_match" id="prev_match" {{'disabled' if id <= 1 else ''}}><<</button>

0 commit comments

Comments
 (0)