Skip to contentSkip to conversation

docs/website: cosmetic changes

PATCH Superseded Angelo Compagnucci 3 participants 5 messages Nov 30, 2015 – Dec 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 docs/website: cosmetic changes

* Resized too big icons in download and documentation pages

---
Cheangelog:

v1 -> v2:
Rebase to the latest git version

v2 -> v3:
Minor fixing to missing tags

 docs/website/css/main.css  |  15 ++-
 docs/website/docs.html     |  30 ++---
 docs/website/download.html | 330 ++++++++++++++++++++++-----------------------
 3 files changed, 189 insertions(+), 186 deletions(-)
docs/website/css/main.css +10 -5
index db9c4c9..57009cf 100644
@@ -207,16 +207,21 @@ i {
 .flip-container {
 	perspective: 1000;
 }
-	/* flip the pane when hovered */
-	.flip-container:hover .flipper, .flip-container.hover .flipper {
-		transform: rotateY(180deg);
-	}
+/* flip the pane when hovered */
+.flip-container:hover .flipper, .flip-container.hover .flipper {
+	transform: rotateY(180deg);
+}
 
-.flip-container, .front, .back {
+.flip-container, .flip-container .front, .flip-container .back {
 	width: 180px;
 	height: 180px;
 }
 
+.flip-container-small, .flip-container-small .front, .flip-container-small .back {
+	width: 120px;
+	height: 120px;
+}
+
 /* flip speed goes here */
 .flipper {
 	transition: 0.6s;
docs/website/docs.html +15 -15
index 9cee36d..23cc13f 100644
@@ -13,59 +13,59 @@
 
       <div class="row mt centered">
 	<div class="col-sm-4">
-	  <div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
+	  <div class="flip-container flip-container-small center-block" ontouchstart="this.classList.toggle('hover');">
 	    <div class="flipper">
 	      <div class="front">
-		<a href="/manual.html"><img src="images/browser.png" width="180" alt=""></a>
+		<a href="/manual.html"><img src="images/browser.png" width="120" alt=""></a>
 	      </div>
 	      <div class="back">
-		<a href="/manual.html"><img src="images/browser.png" width="180" alt=""></a>
+		<a href="/manual.html"><img src="images/browser.png" width="120" alt=""></a>
 	      </div>
 	    </div>
 	  </div>
 
-	  <h3>HTML <br>
+	  <h4>HTML <br>
 	    <a href="/manual.html">Stable</a> |
 	    <a href="http://nightly.buildroot.org/manual.html">Nightly</a>
-	  </h3>
+	  </h4>
 
 	</div>
 
 	<div class="col-sm-4">
-	  <div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
+	  <div class="flip-container flip-container-small center-block" ontouchstart="this.classList.toggle('hover');">
 	    <div class="flipper">
 	      <div class="front">
-		<img src="images/pdf-icon.png" width="180" alt="">
+		<img src="images/pdf-icon.png" width="120" alt="">
 	      </div>
 	      <div class="back">
-		<img src="images/pdf-icon.png" width="180" alt="">
+		<img src="images/pdf-icon.png" width="120" alt="">
 	      </div>
 	    </div>
 	  </div>
 
-	  <h3>PDF <br>
+	  <h4>PDF <br>
 	    <a href="/downloads/manual/manual.pdf">Stable</a> |
 	    <a href="http://nightly.buildroot.org/manual.pdf">Nightly</a>
-	  </h3>
+	  </h4>
 
 	</div>
 
 	<div class="col-sm-4">
-	  <div class="flip-container center-block" ontouchstart="this.classList.toggle('hover');">
+	  <div class="flip-container flip-container-small center-block" ontouchstart="this.classList.toggle('hover');">
 	    <div class="flipper">
 	      <div class="front">
-		<img src="images/text.png" width="180" alt="">
+		<img src="images/text.png" width="120" alt="">
 	      </div>
 	      <div class="back">
-		<img src="images/text.png" width="180" alt="">
+		<img src="images/text.png" width="120" alt="">
 	      </div>
 	    </div>
 	  </div>
 
-	  <h3>ASCII <br>
+	  <h4>ASCII <br>
 	    <a href="/downloads/manual/manual.text">Stable</a> |
 	    <a href="http://nightly.buildroot.org/manual.text">Nightly</a>
-	  </h3>
+	  </h4>
 
 	</div>
       </div>
docs/website/download.html +164 -166

340 lines not on this page · raw message

Signature · 1 line
1.9.1
#1 lore raw

PATCH v3 1/1 docs/website: cosmetic changes

Dear Angelo Compagnucci,

Quoted 10 lines · Angelo Compagnucci

* Resized too big icons in download and documentation pages

---
Cheangelog:

v1 -> v2:
Rebase to the latest git version

Quoted 7 lines

v2 -> v3:
Minor fixing to missing tags

 docs/website/css/main.css  |  15 ++-
 docs/website/docs.html     |  30 ++---
 docs/website/download.html | 330 ++++++++++++++++++++++-----------------------
 3 files changed, 189 insertions(+), 186 deletions(-)

Please don't re-indent the entire file again. I did re-indent it with Emacs HTML mode (I know Peter is also using Emacs, so I was assuming this would simplify things for him).

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH v3 1/1 docs/website: cosmetic changes

Dear Thomas Petazzoni,

2015-11-30 23:10 GMT+01:00 Thomas Petazzoni
<[email protected]>:

Quoted 16 lines

Dear Angelo Compagnucci,

Quoted 13 lines · Angelo Compagnucci

* Resized too big icons in download and documentation pages

---
Cheangelog:

v1 -> v2:
Rebase to the latest git version

v2 -> v3:
Minor fixing to missing tags

Quoted 8 lines
Quoted 4 lines
 docs/website/css/main.css  |  15 ++-
 docs/website/docs.html     |  30 ++---
 docs/website/download.html | 330 ++++++++++++++++++++++-----------------------
 3 files changed, 189 insertions(+), 186 deletions(-)

Please don't re-indent the entire file again. I did re-indent it with Emacs HTML mode (I know Peter is also using Emacs, so I was assuming this would simplify things for him).

It was very difficult to me to follow the new indentation, mixed spaces and tabs was a big mess to my eyes.

At this point I think this patch could be abandoned, I'll rework it as soon I have again a little bit of free time.

Probably it could be better to stick to some html formatter external to emacs (I'm more a vim guy!)

Sincerely, Angelo

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Signature · 1 line
Profile: http://it.linkedin.com/in/compagnucciangelo
#3 lore raw

PATCH v3 1/1 docs/website: cosmetic changes

Angelo,

Quoted 8 lines · Angelo Compagnucci

It was very difficult to me to follow the new indentation, mixed spaces and tabs was a big mess to my eyes.

At this point I think this patch could be abandoned, I'll rework it as soon I have again a little bit of free time.

Probably it could be better to stick to some html formatter external to emacs (I'm more a vim guy!)

I don't mind changing the indentation, but your indentation style with one tab for each level associated with the very deep nesting required by the new website layout made it a bit unreadable IMO.

I don't mind changing the indentation style to something else, but it should be consistent. Peter, any suggestion on your preference?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH v3 1/1 docs/website: cosmetic changes

Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Angelo,

Quoted 8 lines · Angelo Compagnucci

It was very difficult to me to follow the new indentation, mixed spaces and tabs was a big mess to my eyes.

At this point I think this patch could be abandoned, I'll rework it as soon I have again a little bit of free time.

Probably it could be better to stick to some html formatter external to emacs (I'm more a vim guy!)

Quoted 6 lines

I don't mind changing the indentation, but your indentation style with one tab for each level associated with the very deep nesting required by the new website layout made it a bit unreadable IMO.

I don't mind changing the indentation style to something else, but it should be consistent. Peter, any suggestion on your preference?

I don't particular care, as long as:

- Indentation changes are done seperately from functional changes
- It stays readable without a bunch of scrolling

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard