Skip to content

Commit 114429c

Browse files
Tabs CSS fixes and 12-factor reposition
1 parent 468b4a2 commit 114429c

File tree

2 files changed

+27
-8
lines changed

2 files changed

+27
-8
lines changed

css/documentation.css

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99

1010
.tabs {
1111
border-bottom: 0;
12-
padding: 10px 0px 0px 0px;
12+
padding: 0px;
1313
}
1414

1515
.tabs>li {
1616
float: left;
1717
list-style: none;
18+
padding: 10px 0px 0px 0px;
1819
}
1920

2021
.tabs>li>a {
@@ -27,7 +28,7 @@
2728
opacity: .8;
2829
}
2930

30-
.tabs>li.active>a, .tabs>li>a:hover {
31+
.tabs>li.active>a {
3132
color: #fff;
3233
border-bottom: 4px solid #fff;
3334
opacity: 1;
@@ -37,6 +38,24 @@
3738
transition: all 0.2s ease;
3839
font-weight: 500;
3940
}
41+
.tabs>li>a:hover {
42+
border-bottom: 4px solid #fff;
43+
opacity: 1;
44+
-webkit-transition: all 0.2s ease;
45+
-moz-transition: all 0.2s ease;
46+
-o-transition: all 0.2s ease;
47+
transition: all 0.2s ease;
48+
}
49+
50+
.tabs>li:hover {
51+
color: #fff;
52+
background-color: gray;
53+
opacity: 1;
54+
-webkit-transition: all 0.2s ease;
55+
-moz-transition: all 0.2s ease;
56+
-o-transition: all 0.2s ease;
57+
transition: all 0.2s ease;
58+
}
4059

4160

4261
.logo {

samples.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,27 @@ The following samples were developed by Docker and the Docker community.
1111

1212
## Tutorial labs
1313

14-
Tutorial labs demonstrate how to develop and ship containerized applications, by
15-
walking through a sample that exhibits canonical practices. These labs are
16-
from the [Docker Labs repository]({{ labsbase }}).
14+
Learn how to develop and ship containerized applications, by walking through a
15+
sample that exhibits canonical practices. These labs are from the [Docker Labs
16+
repository]({{ labsbase }}).
1717

1818
| Sample | Description |
1919
| ------ | ----------- |
2020
| [Docker for Beginners]({{ labsbase }}/beginner/){: target="_blank"} | A good "Docker 101" course. |
21-
| [Building a 12-factor application with Docker]({{ labsbase}}/12factor){: target="_blank"} | Use Docker to create an app that conforms to Heroku's "12 factors for cloud-native applications." |
2221
| [Docker Swarm mode]({{ labsbase}}/swarm-mode){: target="_blank"} | Use Docker for natively managing a cluster of Docker Engines called a swarm. |
23-
| [Service deployment in the cloud]({{ labsbase}}/swarm-mode/cloud-quick-start){: target="_blank"} | This script creates a swarm cluster and deploy a simple service on a cloud provider. |
22+
| [Service deployment in the cloud]({{ labsbase}}/swarm-mode/cloud-quick-start){: target="_blank"} | This script creates a swarm cluster and deploys a simple service on a cloud provider. |
2423
| [Configuring developer tools and programming languages]({{ labsbase }}/developer-tools/README.md){: target="_blank"} | How to set-up and use common developer tools and programming languages with Docker. |
2524
| [Live Debugging Java with Docker]({{ labsbase }}/developer-tools/java-debugging){: target="_blank"} | Java developers can use Docker to build a development environment where they can run, test, and live debug code running within a container. |
2625
| [Docker for Java Developers]({{ labsbase }}/developer-tools/java/){: target="_blank"} | Offers Java developers an intro-level and self-paced hands-on workshop with Docker. |
2726
| [Live Debugging a Node.js application in Docker]({{ labsbase }}/developer-tools/nodejs-debugging){: target="_blank"} | Node developers can use Docker to build a development environment where they can run, test, and live debug code running within a container. |
2827
| [Dockerizing a Node.js application]({{ labsbase }}/developer-tools/nodejs/porting/){: target="_blank"} | This tutorial starts with a simple Node.js application and details the steps needed to Dockerize it and ensure its scalability. |
2928
| [Docker for ASP.NET and Windows containers]({{ labsbase }}/windows/readme.md){: target="_blank"} | Docker supports Windows containers, too! Learn how to run ASP.NET, SQL Server, and more in these tutorials. |
3029
| [Docker Security]({{ labsbase }}/security/README.md){: target="_blank"} | How to take advantage of a Docker security features. |
30+
| [Building a 12-factor application with Docker]({{ labsbase}}/12factor){: target="_blank"} | Use Docker to create an app that conforms to Heroku's "12 factors for cloud-native applications." |
3131

3232
## Sample applications
3333

34-
Sample applications demonstrate how to run popular software using Docker.
34+
Run popular software using Docker.
3535

3636
| Sample | Description |
3737
| ------ | ----------- |

0 commit comments

Comments
 (0)