Improved bidirectionality on the 'Congrats' page.
Follow up to 9012033138
.
This commit is contained in:
parent
c70cd2a926
commit
fecfec6deb
|
@ -26,30 +26,25 @@
|
||||||
main {
|
main {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.u-clearfix:after {
|
|
||||||
content: "";
|
|
||||||
clear: both;
|
|
||||||
display: table;
|
|
||||||
}
|
|
||||||
h1, h2, h3, h4, h5, p, ul {
|
h1, h2, h3, h4, h5, p, ul {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
header {
|
header {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: auto auto;
|
||||||
|
align-items: self-end;
|
||||||
|
justify-content: space-between;
|
||||||
|
gap: 7px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
.logo {
|
.logo {
|
||||||
float: left;
|
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: 1.375rem;
|
font-size: 1.375rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.release-notes {
|
|
||||||
float: right;
|
|
||||||
margin-top: 7px;
|
|
||||||
}
|
|
||||||
.figure {
|
.figure {
|
||||||
margin-top: 19vh;
|
margin-top: 19vh;
|
||||||
max-width: 265px;
|
max-width: 265px;
|
||||||
|
@ -108,8 +103,12 @@
|
||||||
margin: 15px auto 0;
|
margin: 15px auto 0;
|
||||||
}
|
}
|
||||||
footer {
|
footer {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr 1fr;
|
||||||
|
gap: 5px;
|
||||||
padding: 25px 0;
|
padding: 25px 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
box-sizing: border-box;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 960px;
|
width: 960px;
|
||||||
|
@ -118,11 +117,10 @@
|
||||||
border-top: 1px solid #efefef;
|
border-top: 1px solid #efefef;
|
||||||
}
|
}
|
||||||
.option {
|
.option {
|
||||||
display: block;
|
display: grid;
|
||||||
float: left;
|
grid-template-columns: min-content 1fr;
|
||||||
width: 33.33%;
|
gap: 10px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-right: 5px;
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
.option svg {
|
.option svg {
|
||||||
|
@ -132,8 +130,6 @@
|
||||||
border: 1px solid #d6d6d6;
|
border: 1px solid #d6d6d6;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
float: left;
|
|
||||||
margin-right: 10px;
|
|
||||||
}
|
}
|
||||||
.option p {
|
.option p {
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
|
@ -152,27 +148,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 800px) {
|
@media (max-width: 800px) {
|
||||||
footer, main {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
footer {
|
footer {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
grid-template-columns: 1fr;
|
||||||
.option {
|
gap: 60px;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 100%;
|
padding: 25px;
|
||||||
left: auto;
|
|
||||||
right: auto;
|
|
||||||
top: auto;
|
|
||||||
padding: 0 25px;
|
|
||||||
margin-bottom: 60px;
|
|
||||||
}
|
|
||||||
.two {
|
|
||||||
margin-left: 0px;
|
|
||||||
transform: none;
|
|
||||||
}
|
|
||||||
.logo, .option, .release-notes {
|
|
||||||
float: none;
|
|
||||||
}
|
}
|
||||||
.figure {
|
.figure {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
|
@ -184,11 +165,11 @@
|
||||||
font-size: 1.25rem;
|
font-size: 1.25rem;
|
||||||
}
|
}
|
||||||
header {
|
header {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
footer {
|
footer {
|
||||||
overflow: hidden;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
|
@ -219,13 +200,11 @@
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="u-clearfix">
|
<header>
|
||||||
<a class="logo" href="https://www.djangoproject.com/" target="_blank" rel="noopener">
|
<a class="logo" href="https://www.djangoproject.com/" target="_blank" rel="noopener">
|
||||||
django
|
django
|
||||||
</a>
|
</a>
|
||||||
<div class="release-notes">
|
|
||||||
<p>{% blocktranslate %}View <a href="https://docs.djangoproject.com/en/{{ version }}/releases/" target="_blank" rel="noopener">release notes</a> for Django {{ version }}{% endblocktranslate %}</p>
|
<p>{% blocktranslate %}View <a href="https://docs.djangoproject.com/en/{{ version }}/releases/" target="_blank" rel="noopener">release notes</a> for Django {{ version }}{% endblocktranslate %}</p>
|
||||||
</div>
|
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
<svg class="figure" viewBox="0 0 508 268" aria-hidden="true">
|
<svg class="figure" viewBox="0 0 508 268" aria-hidden="true">
|
||||||
|
@ -242,8 +221,8 @@
|
||||||
<h1>{% translate "The install worked successfully! Congratulations!" %}</h1>
|
<h1>{% translate "The install worked successfully! Congratulations!" %}</h1>
|
||||||
<p>{% blocktranslate %}You are seeing this page because <a href="https://docs.djangoproject.com/en/{{ version }}/ref/settings/#debug" target="_blank" rel="noopener">DEBUG=True</a> is in your settings file and you have not configured any URLs.{% endblocktranslate %}</p>
|
<p>{% blocktranslate %}You are seeing this page because <a href="https://docs.djangoproject.com/en/{{ version }}/ref/settings/#debug" target="_blank" rel="noopener">DEBUG=True</a> is in your settings file and you have not configured any URLs.{% endblocktranslate %}</p>
|
||||||
</main>
|
</main>
|
||||||
<footer class="u-clearfix">
|
<footer>
|
||||||
<a class="option one" href="https://docs.djangoproject.com/en/{{ version }}/" target="_blank" rel="noopener">
|
<a class="option" href="https://docs.djangoproject.com/en/{{ version }}/" target="_blank" rel="noopener">
|
||||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||||
<path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"></path>
|
<path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
|
@ -252,7 +231,7 @@
|
||||||
{% translate 'Topics, references, & how-to’s' %}
|
{% translate 'Topics, references, & how-to’s' %}
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
<a class="option two" href="https://docs.djangoproject.com/en/{{ version }}/intro/tutorial01/" target="_blank" rel="noopener">
|
<a class="option" href="https://docs.djangoproject.com/en/{{ version }}/intro/tutorial01/" target="_blank" rel="noopener">
|
||||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||||
<path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path>
|
<path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
|
@ -261,7 +240,7 @@
|
||||||
{% translate "Get started with Django" %}
|
{% translate "Get started with Django" %}
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
<a class="option three" href="https://www.djangoproject.com/community/" target="_blank" rel="noopener">
|
<a class="option" href="https://www.djangoproject.com/community/" target="_blank" rel="noopener">
|
||||||
<svg viewBox="0 0 24 24" aria-hidden="true">
|
<svg viewBox="0 0 24 24" aria-hidden="true">
|
||||||
<path d="M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25zm-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75v1.25zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75v1.25zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"></path>
|
<path d="M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25zm-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75v1.25zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75v1.25zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"></path>
|
||||||
</svg>
|
</svg>
|
||||||
|
|
Loading…
Reference in New Issue