Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,050 --> 00:00:07,110
There's still a couple last things to change so I don't want it pressed right up against this previous
2
00:00:07,110 --> 00:00:08,160
section here.
3
00:00:08,220 --> 00:00:16,200
So we'll come back down and where we have our styles set to a height of 100 m for this container.
4
00:00:16,200 --> 00:00:24,510
Let's go ahead and we'll also add a margin top to this of twelve m and we'll save that.
5
00:00:24,510 --> 00:00:30,060
And that should be consistent with the margins that we had had between these guys and you'll see that
6
00:00:30,060 --> 00:00:34,960
we now have a nice little gap below that looks really great.
7
00:00:34,960 --> 00:00:39,080
And we still have one last thing the title to take care of.
8
00:00:39,160 --> 00:00:43,960
And we know that we've set that to the H three typography variant.
9
00:00:44,080 --> 00:00:45,910
But let's go over to our theme.
10
00:00:46,000 --> 00:00:50,140
J.S. and actually add the h three style.
11
00:00:50,160 --> 00:00:55,470
Now you probably had seen this in a previous video site actually set it up before and forgot to remove
12
00:00:55,470 --> 00:00:55,920
it.
13
00:00:55,920 --> 00:01:02,220
So if you'd seen any styles in the theme that we hadn't used yet I apologize for not clearing that out
14
00:01:02,220 --> 00:01:08,610
beforehand but if you didn't notice you don't have to worry because we'll add the style now of h three
15
00:01:09,090 --> 00:01:18,030
and we'll open this up make sure you get the comma afterwards and set your font family to Pacific Ho
16
00:01:18,480 --> 00:01:30,690
and then font size 2.5 rem and a color of ARC blue and we can save this see the page refresh.
17
00:01:30,810 --> 00:01:38,170
And now we've got a very nice title looking exactly like the design file the only thing that could make
18
00:01:38,170 --> 00:01:44,350
it look a little more like the design is if we had a little bit more space in between these two items
19
00:01:44,350 --> 00:01:44,950
here.
20
00:01:44,980 --> 00:01:52,840
So let's close out of our theme and on our typography component for the revolution after the variant
21
00:01:52,870 --> 00:02:00,970
of H 3 let's add a gutter bottom prop to this and we'll just leave that how it is to set that to true
22
00:02:01,220 --> 00:02:08,020
and it will save this to create a bit of a margin under the bottom of that typography component and
23
00:02:08,020 --> 00:02:13,900
you can now see there is a bit of a gap underneath the revolution and I think that that actually looks
24
00:02:13,990 --> 00:02:16,050
exactly like the design file.
25
00:02:17,110 --> 00:02:23,770
This looks really great and the card made it really easy to create this floating section look that was
26
00:02:23,770 --> 00:02:25,590
exactly what I was going for.
27
00:02:25,630 --> 00:02:31,500
And now let's look at how this reads sizes so we can apply any responsive styles that we need.
28
00:02:31,550 --> 00:02:38,740
And so what's bring it up you can see it the large style this size is very nicely and still looks perfect
29
00:02:38,740 --> 00:02:39,960
for the screen size.
30
00:02:39,970 --> 00:02:42,720
It is adapted just how you would want it to.
31
00:02:42,820 --> 00:02:50,340
But if we start scrolling all the way down we keep shrinking and shrinking and you'll see now the re
32
00:02:50,350 --> 00:02:57,070
sizes are content inside of the card and that's actually because of all the padding that we have going
33
00:02:57,070 --> 00:02:57,840
on here.
34
00:02:57,910 --> 00:03:04,210
So we'll probably want less padding for the smaller screen sizes but you can see that the card is actually
35
00:03:04,210 --> 00:03:07,810
being pushed off the screen also because of that padding.
36
00:03:07,810 --> 00:03:10,860
So we definitely need to go ahead and take care of that.
37
00:03:10,870 --> 00:03:17,470
So let's scroll up to our card style on our revolution card style.
38
00:03:17,470 --> 00:03:25,390
Let's set a theme dot breakpoints dot down for these small break points.
39
00:03:25,450 --> 00:03:31,180
And here we're going to change that padding but we're going to specify a different padding for each
40
00:03:31,240 --> 00:03:32,560
side actually.
41
00:03:32,650 --> 00:03:44,590
So we'll set padding top to 8 M and padding padding bottom 2 also 8 m but then we'll set the padding
42
00:03:44,840 --> 00:03:55,480
left to 0 and the padding right to 0 which should give us a nice styling up and below the card while
43
00:03:55,480 --> 00:04:00,680
removing this extra padding that's pushing us off to the sides on the left and right.
44
00:04:00,730 --> 00:04:04,900
So we'll go ahead and save that page will refresh.
45
00:04:04,900 --> 00:04:07,980
And now you can see that that looks much more appropriate.
46
00:04:08,050 --> 00:04:12,370
And it's also not causing any over spacing.
47
00:04:12,370 --> 00:04:14,170
So that looks really good.
48
00:04:14,170 --> 00:04:20,590
The one thing I might change is you can see these little corners right there those little rounded corners
49
00:04:20,830 --> 00:04:26,740
I'd actually really prefer if on the smaller screens since it's squeezed all the way against the edge
50
00:04:26,740 --> 00:04:30,430
of the screen anyway it might as well just be totally flush.
51
00:04:30,460 --> 00:04:32,950
And I think that would create a bit of a better look.
52
00:04:33,280 --> 00:04:39,530
So at this break point we'll also have a border radius of 0 0.
53
00:04:39,640 --> 00:04:41,240
So we'll save that.
54
00:04:41,290 --> 00:04:46,530
And now you can see that it's got very sharp corners going to the edge of the screen.
55
00:04:46,540 --> 00:04:48,100
And I think that that looks great.
56
00:04:48,610 --> 00:04:56,410
And we can see if we resize this all the way back up is still looking great all the way until it jumps
57
00:04:56,410 --> 00:05:02,110
up to these bigger break points and you see then we start getting all of our room.
58
00:05:02,170 --> 00:05:09,370
We can scroll this back down and here actually see how it made the jump to the new style but we're still
59
00:05:09,370 --> 00:05:11,010
having the gap here.
60
00:05:11,090 --> 00:05:16,330
I actually let's go ahead and set a width to 100 percent.
61
00:05:16,330 --> 00:05:22,120
So any time it's at this breakpoint when we take off the rounded corners it will push it all the way
62
00:05:22,120 --> 00:05:26,790
against the edges of the screen creating that flushed Look we had wanted.
63
00:05:26,860 --> 00:05:28,360
So we'll save this.
64
00:05:28,360 --> 00:05:34,540
And that should extend the card and you see it does to now take up the full width of the screen looking
65
00:05:34,600 --> 00:05:38,030
much better for all the smaller sizes.
66
00:05:38,130 --> 00:05:42,170
And I'll go ahead and bring this all the way up and that looks great.
67
00:05:42,190 --> 00:05:46,440
So I think that that is all we really needed for this revolution block.
68
00:05:46,450 --> 00:05:50,210
It was pretty simple just this one element and then the background.
69
00:05:50,320 --> 00:05:53,880
But that really creates a great looking design I think.
70
00:05:54,040 --> 00:05:59,680
And it definitely gives a unique feel and kind of surprises you almost when you're scrolling down the
71
00:05:59,680 --> 00:06:02,700
page and it really just catches your attention.
72
00:06:02,770 --> 00:06:07,260
But the best part is that it looks so good on all the different screen sizes.
73
00:06:07,270 --> 00:06:10,440
I really love that style of how that looks.
74
00:06:10,510 --> 00:06:16,990
So I hope you're happy with that too but let's go ahead and we'll start creating the next block on the
75
00:06:16,990 --> 00:06:25,030
home page for r about us and contact us sections in the info blog in the next video.
8181
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.