mirror of https://github.com/JohnHammond/CTFd.git
Modals now defalut to left-aligned text (#338)
parent
41c72c9022
commit
ac51c3a899
|
@ -12,9 +12,9 @@
|
||||||
<div role="tabpanel">
|
<div role="tabpanel">
|
||||||
<div class="tab-content">
|
<div class="tab-content">
|
||||||
<div role="tabpanel" class="tab-pane fade in active" id="challenge">
|
<div role="tabpanel" class="tab-pane fade in active" id="challenge">
|
||||||
<h3 class='chal-name'>{{ name }}</h3>
|
<h3 class='chal-name text-center'>{{ name }}</h3>
|
||||||
<h4 class="chal-value">{{ value }}</h4>
|
<h4 class="chal-value text-center">{{ value }}</h4>
|
||||||
<div class="chal-tags">
|
<div class="chal-tags text-center">
|
||||||
{{#each tags }}
|
{{#each tags }}
|
||||||
<span class='label label-primary chal-tag'>{{this}}</span>
|
<span class='label label-primary chal-tag'>{{this}}</span>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
<span class="chal-desc">{{{ desc }}}</span>
|
<span class="chal-desc">{{{ desc }}}</span>
|
||||||
<div class="chal-hints file-row row">
|
<div class="chal-hints file-row row">
|
||||||
{{#each hints}}
|
{{#each hints}}
|
||||||
<div class='col-md-12 file-button-wrapper'>
|
<div class='col-md-12 file-button-wrapper text-center'>
|
||||||
<a onclick="javascript:loadhint({{this.id}})">
|
<a onclick="javascript:loadhint({{this.id}})">
|
||||||
{{#if this.hint }}
|
{{#if this.hint }}
|
||||||
<label class='challenge-wrapper file-wrapper hide-text'>
|
<label class='challenge-wrapper file-wrapper hide-text'>
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
<div class="chal-files file-row row">
|
<div class="chal-files file-row row text-center">
|
||||||
{{#each files}}
|
{{#each files}}
|
||||||
<div class='col-md-3 file-button-wrapper'>
|
<div class='col-md-3 file-button-wrapper'>
|
||||||
<a class='file-button' href='/files/{{this}}'>
|
<a class='file-button' href='/files/{{this}}'>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div role="tabpanel" class="tab-pane fade" id="solves">
|
<div role="tabpanel" class="tab-pane fade" id="solves">
|
||||||
<table class="table table-striped">
|
<table class="table table-striped text-center">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>Name</b>
|
<td><b>Name</b>
|
||||||
|
|
|
@ -40,16 +40,6 @@
|
||||||
.input--filled .too-fast {
|
.input--filled .too-fast {
|
||||||
border-color: rgb(252, 248, 227);
|
border-color: rgb(252, 248, 227);
|
||||||
}
|
}
|
||||||
a, button {
|
|
||||||
color: #74716D;
|
|
||||||
text-decoration: none;
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
a:hover, a:focus {
|
|
||||||
color: #c94e50;
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 1em 2em;
|
padding: 1em 2em;
|
||||||
|
@ -64,7 +54,6 @@
|
||||||
max-width: 1000px;
|
max-width: 1000px;
|
||||||
padding: 2em;
|
padding: 2em;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-wrap {
|
.button-wrap {
|
||||||
|
|
Loading…
Reference in New Issue