From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Sat, 5 Dec 2015 18:21:12 +0100 Subject: [Buildroot] [PATCH 4/4] docs/website: cosmetic changes In-Reply-To: <1449213674-11333-5-git-send-email-angelo.compagnucci@gmail.com> References: <1449213674-11333-1-git-send-email-angelo.compagnucci@gmail.com> <1449213674-11333-5-git-send-email-angelo.compagnucci@gmail.com> Message-ID: <56631D08.2050105@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 04-12-15 08:21, Angelo Compagnucci wrote: > * Smaller images in download and docs pages > * Fixes to links in docs > * Minor fixings in index This should probably be three patches, maybe even more. Also, preferably say something more specific than "Minor fixes". > > Signed-off-by: Angelo Compagnucci > --- > docs/website/css/main.css | 15 ++++++++++----- > docs/website/docs.html | 43 ++++++++++++++++++++++++------------------- > docs/website/download.html | 17 ++++++++--------- > docs/website/header.html | 12 ++++++------ > 4 files changed, 48 insertions(+), 39 deletions(-) > > diff --git a/docs/website/css/main.css b/docs/website/css/main.css > index db9c4c9..57009cf 100644 > --- a/docs/website/css/main.css > +++ b/docs/website/css/main.css > @@ -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); > +} Whitespace change -> separate patch. > > -.flip-container, .front, .back { > +.flip-container, .flip-container .front, .flip-container .back { I'm not a CSS expert (to say the least), but isn't this equivalent to .flip-container { because the two other specifiers are a subset of the first one? > width: 180px; > height: 180px; > } > > +.flip-container-small, .flip-container-small .front, .flip-container-small .back { Same here. Also, wouldn't it be better to add .flip-container-small to the other two .flip-container specifications, so that you can remove the flip-container class from the classes in the HTML files? > + width: 120px; > + height: 120px; > +} > + > /* flip speed goes here */ > .flipper { > transition: 0.6s; > diff --git a/docs/website/docs.html b/docs/website/docs.html > index 4b86383..f2a8597 100644 > --- a/docs/website/docs.html > +++ b/docs/website/docs.html > @@ -10,60 +10,65 @@ > change/extend/fix things. It is available as:

>
>
> -
+
ontouchstart="this.classList.toggle('hover');"> > >
> -

HTML > -
> - Stable| > +

HTML

> +

Stable| > > - Nightly

> + Nightly >
>
> -
+
ontouchstart="this.classList.toggle('hover');"> >
>
> - > + > + > + >
>
> - > + > + > + >
>
>
> -

PDF > -
> - Stable| > +

PDF

> +

Stable| > > Nightly

>
>
> -
+
ontouchstart="this.classList.toggle('hover');"> >
>
> - > + > + > + >
>
> - > + > + > + >
>
>
> -

ASCII > -
> - Stable| > +

ASCII

> +

Stable| > > Nightly

>
> diff --git a/docs/website/download.html b/docs/website/download.html > index 4ff397d..ea77b25 100644 > --- a/docs/website/download.html > +++ b/docs/website/download.html > @@ -9,17 +9,17 @@ > 2015.11 >
>
> -
+
ontouchstart="this.classList.toggle('hover');"> > > @@ -34,17 +34,17 @@ >

>
>
> -
+
ontouchstart="this.classList.toggle('hover');"> > > @@ -153,9 +153,8 @@ > can update your source tree at any time so it is in sync > with the latest and greatest by entering your buildroot > directory and running the command:

> -
> -                  git pull
> -                
> +
> +git pull

 This bit should have been part of the tidy patch - and tidy shouldn't add
indentation here...

>  
>

Because you've only been granted anonymous access to > the tree, you won't be able to push your changes to the > diff --git a/docs/website/header.html b/docs/website/header.html > index 69f4203..c348ebb 100644 > --- a/docs/website/header.html > +++ b/docs/website/header.html > @@ -36,31 +36,31 @@ >

> -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF