1 |
commit: 75d0b89b2390d6d20c566bbee0ad4f7bd395eb3d |
2 |
Author: Alex Legler <alex <AT> a3li <DOT> li> |
3 |
AuthorDate: Sat Jan 30 22:23:28 2016 +0000 |
4 |
Commit: Alex Legler <a3li <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 30 22:26:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=75d0b89b |
7 |
|
8 |
Cleanup downloads |
9 |
|
10 |
This reshuffles the page a little, what-to-do notice goes down, mirror |
11 |
selection goes away until it is actually implemented. |
12 |
The rather heavy grey bar for promoted downloads is replaced with |
13 |
something that just spans around the contents. |
14 |
|
15 |
_sass/downloads.scss | 26 ++++++++++++++----------- |
16 |
downloads/index.html | 55 +++++++++++++++++++++++----------------------------- |
17 |
2 files changed, 39 insertions(+), 42 deletions(-) |
18 |
|
19 |
diff --git a/_sass/downloads.scss b/_sass/downloads.scss |
20 |
index eda6431..e23f03a 100644 |
21 |
--- a/_sass/downloads.scss |
22 |
+++ b/_sass/downloads.scss |
23 |
@@ -1,8 +1,3 @@ |
24 |
-.downloads { |
25 |
- background-color: #e1e1e1; |
26 |
- box-shadow: 0 0px 10px 0 rgba(0,0,0,0.10); |
27 |
-} |
28 |
- |
29 |
.download-size { |
30 |
margin-left: 1em; |
31 |
} |
32 |
@@ -16,12 +11,21 @@ |
33 |
} |
34 |
|
35 |
@media (min-width: 768px) { |
36 |
- .downloads { |
37 |
- margin-top: 1em; |
38 |
- margin-bottom: 3em; |
39 |
- } |
40 |
- |
41 |
.other-arches .tab-pane { |
42 |
margin-left: 1em; |
43 |
} |
44 |
-} |
45 |
\ No newline at end of file |
46 |
+ |
47 |
+ .downloads-featured { |
48 |
+ margin-top: 3em; |
49 |
+ margin-bottom: 2em; |
50 |
+ } |
51 |
+} |
52 |
+ |
53 |
+.downloads-panel { |
54 |
+ background-color: #eaeaea; |
55 |
+ background-image: linear-gradient(to bottom, #eaeaea 80%, #e0e0e0 100%); |
56 |
+ |
57 |
+ p:last-child { |
58 |
+ margin-bottom: 0; |
59 |
+ } |
60 |
+} |
61 |
|
62 |
diff --git a/downloads/index.html b/downloads/index.html |
63 |
index bcf15fc..a5addfd 100644 |
64 |
--- a/downloads/index.html |
65 |
+++ b/downloads/index.html |
66 |
@@ -9,9 +9,30 @@ inlinejs: "$(function() { $('#other-arches a:first').tab('show'); });" |
67 |
|
68 |
<p class="lead"> |
69 |
Gentoo Linux is available free over the Internet.<br> |
70 |
- You can download Gentoo Linux Live Environments and Stage Archives using the links below: |
71 |
+ You can download Gentoo Linux Live Environments and Stage Archives using the links below. |
72 |
</p> |
73 |
|
74 |
+<div class="row downloads-featured"> |
75 |
+ <div class="col-xs-12 col-md-6"> |
76 |
+ <div class="panel panel-default downloads-panel"> |
77 |
+ <div class="panel-body"> |
78 |
+ <h2 class="stick-top" id="amd64">amd64 <small>aka x86_64</small></h2> |
79 |
+ |
80 |
+ {% include downloads/amd64.html %} |
81 |
+ </div> |
82 |
+ </div> |
83 |
+ </div> |
84 |
+ <div class="col-xs-12 col-md-6"> |
85 |
+ <div class="panel panel-default downloads-panel"> |
86 |
+ <div class="panel-body"> |
87 |
+ <h2 class="stick-top" id="x86">x86</h2> |
88 |
+ |
89 |
+ {% include downloads/x86.html %} |
90 |
+ </div> |
91 |
+ </div> |
92 |
+ </div> |
93 |
+</div> |
94 |
+ |
95 |
<div class="alert alert-info"> |
96 |
<strong>What should I download? What do I do with these files?</strong> |
97 |
<br> |
98 |
@@ -25,39 +46,11 @@ inlinejs: "$(function() { $('#other-arches a:first').tab('show'); });" |
99 |
</p> |
100 |
</div> |
101 |
|
102 |
-<div id="mirror-select"> |
103 |
- <form class="form-inline"> |
104 |
- <div class="form-group"> |
105 |
- <label for="mirror"><span class="fa fa-fw fa-globe"></span> Download from:</label> |
106 |
- <select class="form-control" name="mirror" id="mirror"> |
107 |
- <option>distfiles.gentoo.org (Globally distributed)</option> |
108 |
- <option disabled="disabled">Other mirrors coming soon</option> |
109 |
- </select> |
110 |
- </div> |
111 |
- <!--<button type="button" class="btn btn-default">Use Browser location</button>--> |
112 |
- </form> |
113 |
-</div> |
114 |
- |
115 |
-<br> |
116 |
- |
117 |
-{% include container/start class="downloads" %} |
118 |
<div class="row"> |
119 |
- <div class="col-xs-12 col-md-6"> |
120 |
- <h2 id="amd64">amd64 <small>aka x86_64</small></h2> |
121 |
- |
122 |
- {% include downloads/amd64.html %} |
123 |
- </div> |
124 |
- <div class="col-xs-12 col-md-6"> |
125 |
- <h2 id="x86">x86</h2> |
126 |
+ <div class="col-md-12"> |
127 |
+ <h2>Advanced Choices and other Architectures</h2> |
128 |
|
129 |
- {% include downloads/x86.html %} |
130 |
- </div> |
131 |
-</div> |
132 |
-{% include container/end %} |
133 |
|
134 |
-<div class="row"> |
135 |
- <div class="col-md-12"> |
136 |
- <h2>Advanced Choices and Other Architectures</h2> |
137 |
|
138 |
<ul class="nav nav-tabs nav-justified" id="other-arches"> |
139 |
<li><a href="#amd64-advanced" data-toggle="tab"><strong>amd64</strong></a></li> |