mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Fixed carousel esp. on mobile.
This commit is contained in:
parent
e7cd53fdf4
commit
c926c7be9d
2 changed files with 28 additions and 30 deletions
16
css/main.css
16
css/main.css
|
|
@ -30,6 +30,11 @@
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site .carousel-inner .item {
|
||||||
|
width: 80%;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.site h1 { font-size: 24px; }
|
.site h1 { font-size: 24px; }
|
||||||
.site h2 { font-size: 20px; }
|
.site h2 { font-size: 20px; }
|
||||||
|
|
||||||
|
|
@ -51,12 +56,8 @@
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site .banner table {
|
.site .banner .col-sm-4 {
|
||||||
margin: 0 auto;
|
text-align: center;
|
||||||
}
|
|
||||||
|
|
||||||
.site .banner table td {
|
|
||||||
padding-right: 50px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.site .carousel-control i {
|
.site .carousel-control i {
|
||||||
|
|
@ -76,9 +77,6 @@
|
||||||
margin-right: 3em;
|
margin-right: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer .contact a {
|
|
||||||
}
|
|
||||||
|
|
||||||
.footer .rss {
|
.footer .rss {
|
||||||
margin-top: 1.1em;
|
margin-top: 1.1em;
|
||||||
margin-right: -.2em;
|
margin-right: -.2em;
|
||||||
|
|
|
||||||
42
index.html
42
index.html
|
|
@ -18,43 +18,43 @@ root: .
|
||||||
<!-- Slides -->
|
<!-- Slides -->
|
||||||
<div class="item active">
|
<div class="item active">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<table><tr>
|
<div class="row">
|
||||||
<td>
|
<div class="col-sm-4">
|
||||||
<img class="pull-left" src="{{page.root}}/img/torque.png"></img>
|
<img src="{{page.root}}/img/torque.png"></img>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div class="col-sm-8">
|
||||||
<h1 class="title">{{site.name}}</h1>
|
<h1 class="title">{{site.name}}</h1>
|
||||||
<p>The open-source game engine of the future.</p>
|
<p>The open-source game engine of the future.</p>
|
||||||
</td>
|
</div>
|
||||||
</tr></table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<table><tr>
|
<div class="row">
|
||||||
<td>
|
<div class="col-sm-4">
|
||||||
<img class="pull-left" src="{{page.root}}/img/torque.png"></img>
|
<img src="{{page.root}}/img/torque.png"></img>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div class="col-sm-8">
|
||||||
<h1 class="title">{{site.name}}</h1>
|
<h1 class="title">{{site.name}}</h1>
|
||||||
<p>The open-source game engine of the future.</p>
|
<p>The open-source game engine of the future.</p>
|
||||||
</td>
|
</div>
|
||||||
</tr></table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<table><tr>
|
<div class="row">
|
||||||
<td>
|
<div class="col-sm-4">
|
||||||
<img class="pull-left" src="{{page.root}}/img/torque.png"></img>
|
<img src="{{page.root}}/img/torque.png"></img>
|
||||||
</td>
|
</div>
|
||||||
<td>
|
<div class="col-sm-8">
|
||||||
<h1 class="title">{{site.name}}</h1>
|
<h1 class="title">{{site.name}}</h1>
|
||||||
<p>The open-source game engine of the future.</p>
|
<p>The open-source game engine of the future.</p>
|
||||||
</td>
|
</div>
|
||||||
</tr></table>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue