-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
126 lines (107 loc) · 1.86 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
/* Semua bagian */
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin: 0;
padding: 0%;
background-color: #E8EAE6;
}
h1, h2 {
color: black;
}
p {
text-indent: 2em;
font-family: sans-serif;
text-align: justify;
}
#letter-spacing {
letter-spacing: 4px;
}
.card {
box-shadow: 0 4px 8px 0 #7C9473;
border-radius: 5px;
padding: 20px;
margin: 20px;
}
/*Bagian Header */
.jumbotron {
font-size: 20px;
padding: 10px;
background-color: #7C9473;
text-align: center;
color: black;
}
/* Bagian Navbar */
nav {
background-color: #CFDAC8;
padding: 5px;
position: sticky;
top: 0%;
}
nav a {
font-size: 18px;
font-weight: 400;
text-decoration: none;
color: black;
}
nav ul li a:hover {
font-weight: bold;
color: black;
}
nav li {
display: inline;
list-style-type: none;
margin-right: 20px;
}
/*bagian Image */
.featured-image {
width: 100%;
max-height: 800px;
object-fit: cover;
object-position: center;
transition: transform .2s;
border-radius: 5px;
}
.featured-image:hover {
transform: scale(1.1);
}
/* Bagian Main */
.content {
float: left;
width: 70%;
}
main {
padding: 20px;
overflow: auto;
}
/* Bagian Aside */
aside {
float: right;
width: 30%;
padding: 100px;
}
.profile {
text-align: center;
width: 350px;
}
/* Bagian Footer */
footer {
padding: 15px;
color: black;
background-color: #CFDAC8;
text-align: center;
font-weight: bold;
}
/* Bagian Responsive */
@media screen and (max-width: 1000px) {
.content,
aside {
width: 100%;
padding: 0;
}
}