mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
fewer inline styles, more styles in head; flexbox it
This commit is contained in:
parent
92079290f6
commit
7de266d4dd
@ -6,15 +6,31 @@
|
|||||||
<link rel="canonical" href="{{ page.redirect.to }}">
|
<link rel="canonical" href="{{ page.redirect.to }}">
|
||||||
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
|
<meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
|
||||||
<style>
|
<style>
|
||||||
.title { font-size: 2.8rem; margin-top: 1rem; margin-bottom: .5rem; font-weight: 300; }
|
html {
|
||||||
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; }
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin: 0;
|
||||||
|
width: 100vw;
|
||||||
|
height: 100vh;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
a {
|
||||||
|
color: #007bff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div style="width: 500px; margin: 40px auto; text-align: center">
|
<h1>Redirecting…</h1>
|
||||||
<h1 class="title">Redirecting…</h1>
|
<a href="{{ page.redirect.to }}">Click here if you are not redirected</a>
|
||||||
<a href="{{ page.redirect.to }}" style="font-size: 0.9rem; color: #7952b3">Click here if you are not redirected.</a>
|
|
||||||
</div>
|
|
||||||
<script>location="{{ page.redirect.to }}"</script>
|
<script>location="{{ page.redirect.to }}"</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user