File size: 1,542 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83

@import "@automattic/components/src/styles/typography";
@import "@wordpress/base-styles/breakpoints";
@import "calypso/my-sites/patterns/mixins";

.patterns-header {
	background: #1d2327;

	.patterns-header__inner {
		@include patterns-page-width;
		padding-top: 105px;
		padding-bottom: 64px;
		background-image: url(./images/background@3x.png);
		background-repeat: no-repeat;
		background-position: 87% top;
		background-size: 45% auto;
		color: var(--studio-white);

		h1 {
			font-family: $font-recoleta;
			font-size: rem(70px);
			line-height: 1;
			letter-spacing: 0.2px;
			width: 600px;
			padding-bottom: 24px;
		}

		.patterns-header__description {
			font-family: $font-sf-pro-display;
			font-size: rem(18px);
			letter-spacing: 0.4px;
			line-height: 1.4;
			padding-bottom: 32px;
			width: 450px;
		}

		.patterns-header__search-input {
			.search {
				border-radius: 4px;
				width: 450px;
				height: 56px;
				overflow: hidden;
				margin-bottom: 0;

				input[type="search"] {
					font-family: $font-sf-pro-text;
					letter-spacing: -0.32px;

					&::placeholder {
						color: #01283d;
					}
				}
			}
		}
	}

	@media (max-width: $break-xlarge) {
		.patterns-header__inner {
			padding-top: 90px;
			padding-bottom: 24px;
			background: none;

			h1 {
				width: auto;
				font-size: rem(50px);
				line-height: 1.15;
			}

			.patterns-header__description {
				width: auto;
				padding-bottom: 24px;
			}

			.patterns-header__search-input {
				.search {
					width: auto;
					height: 52px;
				}
			}
		}
	}
}