|
13 | 13 | h2 { font-size: 21px; margin-bottom: 1em; }
|
14 | 14 | a { color: <?= $darkColor(0.75); ?> }
|
15 | 15 | a:hover { text-decoration: none; }
|
16 |
| - code { box-shadow: 0 0 45px -15px hsl(<?= $hue; ?>, 20%, 2%); position: relative; background: <?= $lightColor(); ?>; color: <?= $darkColor(); ?>; padding: 10px 20px 10px 7px; word-wrap: break-word; border-radius: 25px; z-index: 1; } |
| 16 | + code { border-radius: 25px; background: <?= $lightColor(); ?>; box-shadow: 0 0 45px -15px hsl(<?= $hue; ?>, 20%, 2%); color: <?= $darkColor(); ?>; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; padding: 10px 20px 10px 7px; position: relative; word-wrap: break-word; z-index: 1; } |
17 | 17 | svg { overflow: hidden; vertical-align: text-bottom; }
|
18 | 18 | .wrapper { text-align: center; width: 100%; }
|
19 | 19 | .container { position: relative; background: radial-gradient(ellipse at bottom, <?= $darkColor(); ?> 0%, hsl(<?= $hue; ?>, 20%, 13%) 100%); background-attachment: fixed; color: <?= $lightColor(); ?>; }
|
|
23 | 23 | .container .logo svg { fill: hsl(<?= $hue; ?>, 20%, 26%); }
|
24 | 24 | .welcome-to { display: block; font-size: 85%; }
|
25 | 25 | .welcome { padding-top: 4em; margin-bottom: 4em; }
|
26 |
| - .status { padding-bottom: 4em; } |
| 26 | + .status { padding-bottom: 2em; } |
| 27 | + .status code, .status .code-ready { display: none; } |
27 | 28 | .version { font-size: 34px; }
|
28 |
| - .check { display: inline-block; background: <?= $darkColor(); ?>; border-radius: 20px; width: 54px; } |
| 29 | + .check { display: inline-block; background: <?= $darkColor(); ?>; border-radius: 20px; margin: 0 10px; width: 54px; } |
29 | 30 | .check svg { fill: <?= $lightColor(); ?>; }
|
30 | 31 | .code-ready { margin-top: 28px; }
|
31 | 32 | .next { position: relative; padding: 3.5em 0; background: <?= $lightColor(); ?>; }
|
32 |
| - .next .row { margin-left: 50px; margin-right: 50px; display: flex; justify-content: space-around; } |
33 |
| - .doc svg { height: 64px; width: 64px; fill: <?= $darkColor(); ?>; margin-bottom: 5px; } |
| 33 | + .next .row { margin-left: 30px; margin-right: 30px; display: flex; justify-content: space-around; } |
| 34 | + .doc svg { height: 48px; width: 48px; fill: <?= $darkColor(); ?>; margin-bottom: 5px; } |
34 | 35 | .doc p { margin-top: 5px; }
|
35 |
| - .col { font-size: 22px; } |
36 |
| - .col div { margin-bottom: -5px; } |
37 |
| - .col a { font-size: 16px; } |
| 36 | + .col { padding: 0 10px; } |
| 37 | + .col h2 { font-size: 18px; font-weight: normal; margin-bottom: 5px; } |
| 38 | + .col a { display: block; font-size: 14px; lline-height: 1.2; } |
38 | 39 | .footer { background: hsl(<?= $hue; ?>, 20%, 98%); }
|
39 | 40 | .footer .divider { pointer-events: none; background: <?= $lightColor(); ?>; fill: hsla(<?= $hue; ?>, 20%, 98%, 1); }
|
40 | 41 | .footer svg.logo { width: 35px; height: 35px; margin-right: 10px; fill:<?= $darkColor(); ?>; vertical-align: middle; }
|
41 |
| - .footer p { font-size: 1vw; } |
| 42 | + .footer p { font-size: 16px; margin: 0 45px; } |
42 | 43 |
|
43 | 44 | @media (min-width: 768px) {
|
44 | 45 | @-webkit-keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
|
45 | 46 | @keyframes fade-in { 0% { opacity: 0; } 100% { opacity: 1; } }
|
46 | 47 | .sf-toolbar { opacity: 0; -webkit-animation: fade-in 1s .2s forwards; animation: fade-in 1s .2s forwards;}
|
| 48 | + |
| 49 | + .next .row { margin-left: 50px; margin-right: 50px; } |
| 50 | + |
| 51 | + .status { padding-bottom: 4em; } |
| 52 | + .status code { display: inline-flex; } |
| 53 | + .status .code-ready { display: block; } |
| 54 | + |
| 55 | + .doc svg { height: 64px; width: 64px; } |
| 56 | + |
| 57 | + .col h2 { font-size: 22px; } |
| 58 | + .col a { font-size: 16px; margin-top: 0; } |
47 | 59 | }
|
48 | 60 | </style>
|
49 | 61 | </head>
|
|
74 | 86 | <div class="row">
|
75 | 87 | <div class="doc col">
|
76 | 88 | <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M12 11.55C9.64 9.35 6.48 8 3 8v11c3.48 0 6.64 1.35 9 3.55 2.36-2.19 5.52-3.55 9-3.55V8c-3.48 0-6.64 1.35-9 3.55zM12 8c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3z"/></svg>
|
77 |
| - <div>Documentation</div> |
| 89 | + <h2>Documentation</h2> |
78 | 90 | <a href="https://symfony.com/doc/<?= $docVersion; ?>/index.html">
|
79 | 91 | Guides, components, references
|
80 | 92 | </a>
|
81 | 93 | </div>
|
82 | 94 | <div class="doc col">
|
83 | 95 | <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" d="M0 0h24v24H0V0z"/><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"/></svg>
|
84 |
| - <div>Tutorials</div> |
| 96 | + <h2>Tutorials</h2> |
85 | 97 | <a href="https://symfony.com/doc/<?= $docVersion; ?>/page_creation.html">
|
86 | 98 | Create your first page
|
87 | 99 | </a>
|
88 | 100 | </div>
|
89 | 101 | <div class="doc col">
|
90 | 102 | <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>
|
91 |
| - <div>Community</div> |
| 103 | + <h2>Community</h2> |
92 | 104 | <a href="https://symfony.com/community">
|
93 | 105 | Connect, get help, or contribute
|
94 | 106 | </a>
|
|
0 commit comments