Tws layout

This commit is contained in:
Jeremy Thomas
2017-09-01 09:09:39 +02:00
parent 782f149f29
commit f82225082a
6 changed files with 524 additions and 131 deletions

View File

@@ -96,8 +96,7 @@
+tablet
.bd-love
padding-bottom: 3rem
padding-top: 3rem
padding: 3rem 1.5rem
.bd-embrace
align-items: center
display: flex

View File

@@ -2,7 +2,7 @@ $tw-black: #1c2022
$tw-blue: #2b7bb9
$tw-grey: #697882
.bd-tws
.bd-tws-home
background-color: $background
display: flex
flex-wrap: wrap
@@ -126,27 +126,39 @@ $tw-grey: #697882
background-image: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23657786%22%20d%3D%22M12%2021.638h-.014C9.403%2021.59%201.95%2014.856%201.95%208.478c0-3.064%202.525-5.754%205.403-5.754%202.29%200%203.83%201.58%204.646%202.73.813-1.148%202.353-2.73%204.644-2.73%202.88%200%205.404%202.69%205.404%205.755%200%206.375-7.454%2013.11-10.037%2013.156H12zM7.354%204.225c-2.08%200-3.903%201.988-3.903%204.255%200%205.74%207.035%2011.596%208.55%2011.658%201.52-.062%208.55-5.917%208.55-11.658%200-2.267-1.822-4.255-3.902-4.255-2.528%200-3.94%202.936-3.952%202.965-.23.562-1.156.562-1.387%200-.015-.03-1.426-2.965-3.955-2.965z%22%2F%3E%3C%2Fsvg%3E)
+mobile
.bd-tws
.bd-tws-home
padding: 1.5rem
.bd-tw
margin-bottom: 1.5rem
.bd-tw:not(:last-child)
margin-bottom: 1.5rem
+tablet
.bd-tws
.bd-tws-home
padding: 3rem
.bd-tw + .bd-tw
margin-top: 1.5rem
.bd-tw + .bd-tw
margin-top: 1.5rem
+until($desktop)
.bd-tws-love
.bd-tw:not(:last-child)
margin-bottom: 1.5rem
+desktop
.bd-tws
.bd-tws-home
min-height: 595px
.bd-tws-love
display: flex
flex-wrap: wrap
margin: -0.75rem
.bd-tw
margin: 0.75rem
width: calc(33.3333% - 1.5rem)
+widescreen
.bd-tws
.bd-tws-home
min-height: 653px
+fullhd
.bd-tws
.bd-tws-home
min-height: 632px
.twitter-tweet:not(.twitter-tweet-rendered)