-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
129 lines (117 loc) · 1.94 KB
/
style.css
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
:root {
--dark: #333;
--dark-gray: #4f4f4f;
--white: #fff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 14px;
}
a {
text-decoration: none;
}
.logo,
.title,
.profile {
color: var(--dark);
}
body {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 2.85rem 5.5rem;
background: var(--white);
}
.container {
display: flex;
align-items: center;
justify-content: center;
}
.gambar img {
width: 539px;
height: auto;
}
.main {
display: flex;
flex-direction: column;
justify-content: space-between;
font-family: 'Space Mono', sans-serif;
width: 586px;
margin-left: 8.78rem;
}
.title {
font-size: 64px;
line-height: 95px;
letter-spacing: -0.035em;
}
.text {
font-weight: normal;
font-size: 24px;
line-height: 36px;
letter-spacing: -0.035em;
max-width: 381px;
padding: 2.57rem 0 4.57rem 0;
color: var(--dark-gray);
}
.button-homepage {
text-transform: uppercase;
font-weight: bold;
letter-spacing: -0.035em;
width: max-content;
padding: 1.6em 3em;
color: var(--white);
background-color: var(--dark);
transition: background-color 0.1s;
}
.button-homepage:hover {
background-color: var(--dark-gray);
}
.profile {
font-family: 'Montserrat', sans-serif;
font-weight: 600;
}
.profile:hover {
text-decoration: underline;
}
@media screen and (max-width: 1280px) {
.container {
transform: scale(0.7);
}
}
@media screen and (max-width: 800px) {
body {
padding: 1.42rem 1.71rem;
}
.container {
transform: scale(1);
flex-direction: column;
}
.gambar {
margin: 4.57rem 0 4.2rem 0;
}
.gambar img {
width: 286px;
}
.container {
margin-bottom: 6.85rem;
}
.main {
margin-left: 0;
width: 100%;
}
.title {
font-size: 44px;
line-height: 71px;
}
.text {
font-size: 18px;
line-height: 27px;
padding: 2rem 0 4.78rem 0;
}
}