Skip to content

Commit d59f272

Browse files
authored
Refactor CSS styles for layout and appearance
Updated styles for various elements including body, header, and boxes.
1 parent 2c131e2 commit d59f272

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed

style.css

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,46 +7,46 @@
77
body {
88
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
99
background: #f0f0f0 url('https://img.freepik.com/free-vector/abstract-decorative-circular-stripes-seamless-pattern-design_1035-25453.jpg?semt=ais_hybrid&w=740&q=80') repeat;
10-
background-size: 150px;
11-
padding: 40px;
10+
background-size: 152px;
11+
padding: 42px;
1212
}
1313

1414
header {
1515
text-align: center;
16-
margin-bottom: 30px;
16+
margin-bottom: 32px;
1717
}
1818

1919
h1 {
2020
background: #a3d8f4;
2121
color: #2c2c2c;
22-
padding: 15px;
22+
padding: 16px;
2323
font-size: 28px;
24-
border-radius: 10px;
24+
border-radius: 11px;
2525
}
2626

2727
.tagline {
2828
color: #555;
2929
font-style: italic;
30-
margin-top: 8px;
30+
margin-top: 9px;
3131
}
3232

3333
#friends {
3434
float: left;
35-
width: 220px;
36-
margin-right: 30px;
35+
width: 222px;
36+
margin-right: 28px;
3737
}
3838

3939
#entries {
4040
float: left;
41-
width: 600px;
41+
width: 598px;
4242
}
4343

4444
.box {
4545
background: #c3e8f5;
4646
border: 3px solid #7cc1e2;
47-
border-radius: 15px;
48-
padding: 20px;
49-
margin-bottom: 25px;
47+
border-radius: 16px;
48+
padding: 21px;
49+
margin-bottom: 24px;
5050
}
5151

5252
#friends .box {
@@ -56,7 +56,7 @@ h1 {
5656

5757
#friends h2 {
5858
color: white;
59-
margin-bottom: 15px;
59+
margin-bottom: 16px;
6060
}
6161

6262
#friends ul {
@@ -70,28 +70,23 @@ h1 {
7070

7171
.entry h2 {
7272
color: #00607a;
73-
margin-bottom: 15px;
73+
margin-bottom: 14px;
7474
font-size: 20px;
7575
}
7676

7777
.date {
7878
background: #a3d8f4;
79-
padding: 4px 10px;
80-
border-radius: 8px;
79+
padding: 5px 11px;
80+
border-radius: 9px;
8181
font-weight: normal;
8282
}
8383

8484
.right-img {
8585
float: right;
86-
margin: 0 0 15px 20px;
86+
margin: 0 0 14px 21px;
8787
border: 2px solid #7cc1e2;
8888
}
8989

9090
p {
91-
line-height: 1.6;
91+
line-height: 1.62;
9292
text-align: justify;
93-
}
94-
95-
.clear {
96-
clear: both;
97-
}

0 commit comments

Comments
 (0)