Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions assets/stylesheets/new-stylesheets/pages/_install.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
margin-top: 60px;
position: relative;
z-index: 10;
line-height: 1.2em;
}

h3 {
Expand All @@ -49,6 +50,10 @@
margin-top: 10px;
display: flex;

&.centered {
justify-content: center;
}

i {
filter: var(--site-content-link-with-right-arrow-icon-filter);
}
Expand Down Expand Up @@ -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 {
Expand All @@ -230,6 +235,11 @@
word-break: break-word;
}
}

.content-body {
flex-grow: 1;
width: 100%;
}
}

.content {
Expand Down Expand Up @@ -281,10 +291,6 @@
display: flex;
flex-direction: column;
min-height: 200px;

.content-body {
flex-grow: 1;
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion install/linux/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ title: Install Swift - Linux
<h2>Looking for alternate installation options?</h2>
<div>
<p class="content-copy">
<a class="content-link" href="/install/linux/amazonlinux/2">Check them out <i></i></a>
<a class="content-link centered" href="/install/linux/amazonlinux/2">Check them out <i></i></a>
</p>
</div>
</div>
Expand Down
13 changes: 13 additions & 0 deletions scripts/copy-vendor.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
13 changes: 13 additions & 0 deletions scripts/prettify.sh
Original file line number Diff line number Diff line change
@@ -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}" \
Expand Down