diff --git a/assets/stylesheets/new-stylesheets/pages/_install.scss b/assets/stylesheets/new-stylesheets/pages/_install.scss index 68aceca0f..677a68482 100644 --- a/assets/stylesheets/new-stylesheets/pages/_install.scss +++ b/assets/stylesheets/new-stylesheets/pages/_install.scss @@ -24,6 +24,7 @@ margin-top: 60px; position: relative; z-index: 10; + line-height: 1.2em; } h3 { @@ -49,6 +50,10 @@ margin-top: 10px; display: flex; + &.centered { + justify-content: center; + } + i { filter: var(--site-content-link-with-right-arrow-icon-filter); } @@ -208,7 +213,7 @@ h2 { color: var(--site-code-box-text) !important; font-size: 22px; - margin: 0 !important; + margin: 0 0 10px 0 !important; } pre { @@ -230,6 +235,11 @@ word-break: break-word; } } + + .content-body { + flex-grow: 1; + width: 100%; + } } .content { @@ -281,10 +291,6 @@ display: flex; flex-direction: column; min-height: 200px; - - .content-body { - flex-grow: 1; - } } } } diff --git a/install/linux/index.md b/install/linux/index.md index 3b08b863d..6a04f4749 100644 --- a/install/linux/index.md +++ b/install/linux/index.md @@ -21,7 +21,7 @@ title: Install Swift - Linux

Looking for alternate installation options?

- Check them out + Check them out

diff --git a/scripts/copy-vendor.sh b/scripts/copy-vendor.sh index 23f903484..1b428ed1d 100644 --- a/scripts/copy-vendor.sh +++ b/scripts/copy-vendor.sh @@ -1,4 +1,17 @@ #!/bin/bash +##===----------------------------------------------------------------------===## +## +## This source file is part of the Swift.org open source project +## +## Copyright (c) 2025 Apple Inc. and the Swift.org project authors +## Licensed under Apache License v2.0 +## +## See LICENSE.txt for license information +## See CONTRIBUTORS.txt for the list of Swift.org project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +##===----------------------------------------------------------------------===## mkdir -p assets/js/vendor diff --git a/scripts/prettify.sh b/scripts/prettify.sh index c42e242b2..a104eec71 100755 --- a/scripts/prettify.sh +++ b/scripts/prettify.sh @@ -1,4 +1,17 @@ #!/bin/bash +##===----------------------------------------------------------------------===## +## +## This source file is part of the Swift.org open source project +## +## Copyright (c) 2025 Apple Inc. and the Swift.org project authors +## Licensed under Apache License v2.0 +## +## See LICENSE.txt for license information +## See CONTRIBUTORS.txt for the list of Swift.org project authors +## +## SPDX-License-Identifier: Apache-2.0 +## +##===----------------------------------------------------------------------===## prettier --write \ "assets/{javascripts/new-javascripts,stylesheets/new-stylesheets}/**/*.{js,scss}" \