-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solutions Block #63 #95
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
.v2-solutions-container { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
@media (min-width: 744px) { | ||
flex-direction: row; | ||
} | ||
} | ||
|
||
.v2-solutions-wrapper { | ||
flex-basis: 33.33%; | ||
} | ||
|
||
.v2-solutions { | ||
@media (min-width: 1200px) { | ||
padding-right: 16px; | ||
} | ||
} | ||
|
||
.v2-solutions-container.v2-cards-container { | ||
max-width: var(--wrapper-width); | ||
margin: auto; | ||
} | ||
|
||
.v2-solutions-container.v2-cards-container .v2-cards-wrapper { | ||
flex-basis: 66.66%; | ||
} | ||
|
||
.v2-solutions-container.v2-cards-container .v2-cards__card-item { | ||
width: 100%; | ||
|
||
@media (min-width: 744px) { | ||
max-width: calc((100% - 48px) / 2); | ||
} | ||
} | ||
|
||
|
||
.v2-solutions h1 { | ||
font: normal var(--headline-1-font-size)/1.15 var(--ff-headline-medium); | ||
margin-top: 12px; | ||
|
||
@media (min-width: 1200px) { | ||
font-size: var(--headline-1-font-size); | ||
} | ||
} | ||
|
||
.v2-solutions h1 + p { | ||
font: normal var(--body-font-size-s)/1.5 var(--ff-body); | ||
} | ||
|
||
.v2-solutions > div > div > p:first-child { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be a shared style. Can you reuse code what’s in the Volvo repository? It would replace current code in another block as well. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is now changed and use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you then refactor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
font: normal var(--accent-2-font-size)/1.2 var(--ff-accents); | ||
} | ||
|
||
.v2-solutions .button.button--primary { | ||
font-family: var(--ff-subheadings-medium); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove, and please fix https://github.com/Netcentric/vg-macktrucks-com-rd/blob/main/styles/styles.css#L868 instead :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Font family is now changed. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I meant changing the standard font-family for buttons in styles.css (for redesign) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is now done |
||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you refactor the CSS nesting? There’s not enough support for it in Firefox.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Media queries nesting adjusted.