Skip to content

Commit

Permalink
Merge pull request #13048 from mtruj013/remove-silicon
Browse files Browse the repository at this point in the history
Remove silicon page and custom styles, add redirect
  • Loading branch information
mtruj013 committed Jul 24, 2023
2 parents a3894cb + f2571cd commit 384749e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 705 deletions.
1 change: 1 addition & 0 deletions redirects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,7 @@ services/?: "/support"
services/server/?: "/server/management"
shipit.*: "https://blog.canonical.com/2011/04/05/shipit-comes-to-an-end/"
sites/.*: "/blog"
silicon/?: "https://canonical.com/partners/silicon/"
smart-start(?P<path>.*)/?: "/core/services/guide"
smartstart(?P<path>.*)/?: "/core/services/guide"
snappy/?: "/desktop/developers"
Expand Down
75 changes: 0 additions & 75 deletions static/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1203,81 +1203,6 @@ hr.p-separator.is-shallow {
}
}

.p-card--silicon-h-suru {
align-items: center;
aspect-ratio: 269/150;
background: #000 url("https://assets.ubuntu.com/v1/2923651d-background-1.png");
background-size: cover;
display: flex;
justify-content: center;
width: 100%;
}

.p-card--silicon-v-suru {
align-items: center;
aspect-ratio: 2/3;
background: #000 url("https://assets.ubuntu.com/v1/8c04e56e-background-3.png");
background-size: cover;
display: flex;
justify-content: center;
width: 100%;
}

.p-testimonials__silicon {
.p-testimonial__logo {
@media (max-width: ($breakpoint-x-small - 1)) {
grid-column: 1 / span 2;
grid-row: 2 / span 1;
}

@media (min-width: $breakpoint-x-small) and (max-width: ($breakpoint-small - 1)) {
grid-column: auto / span 1;
}

@media (min-width: $breakpoint-small) and (max-width: ($breakpoint-medium - 1)) {
grid-column: auto / span 2;
}

@media (min-width: $breakpoint-medium) {
grid-column: auto / span 3;
}
}

.p-testimonial__author {
@media (max-width: ($breakpoint-x-small - 1)) {
grid-column: 3 / span 2;
grid-row: 2 / span 1;
}

@media (min-width: $breakpoint-x-small) and (max-width: ($breakpoint-small - 1)) {
grid-column: auto / span 2;
}

@media (min-width: $breakpoint-small) and (max-width: ($breakpoint-medium - 1)) {
grid-column: auto / span 4;
}

@media (min-width: $breakpoint-medium) {
grid-column: auto / span 3;
}
}

.p-testimonial__quote {
@media (max-width: ($breakpoint-x-small - 1)) {
grid-column: 1 / span 4;
grid-row: 1 / span 1;
}

@media (min-width: $breakpoint-x-small) and (max-width: ($breakpoint-small - 1)) {
grid-column: auto / span 3;
}

@media (min-width: $breakpoint-small) {
grid-column: auto / span 6;
}
}
}

.p-list--ticked {
.p-list__item-padded {
@extend .p-list__item;
Expand Down
7 changes: 0 additions & 7 deletions templates/silicon/base_silicon.html

This file was deleted.

Loading

0 comments on commit 384749e

Please sign in to comment.