Skip to content

Commit 824e8b2

Browse files
fixed main layout
1 parent aeda806 commit 824e8b2

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

assets/css/index.css

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ body::-webkit-scrollbar-button {
6565

6666
/* main */
6767
main {
68-
width: 1200px;
68+
width: 700px;
6969
margin: auto;
7070
}
7171
header {
@@ -114,20 +114,7 @@ header nav ul {
114114
font-family: "Roboto", sans-serif;
115115
}
116116
/* Project lists */
117-
#container {
118-
margin-top: 30px;
119-
}
120-
h2.cat-title {
121-
margin-bottom: 25px;
122-
font-weight: 400;
123-
border-bottom: 1px solid #efefef;
124-
padding-bottom: 10px;
125-
}
126-
.projects-items {
127-
display: flex;
128-
gap: 20px;
129-
flex-wrap: wrap;
130-
}
117+
131118
/* project item */
132119
.project-item {
133120
width: 285px;
@@ -141,9 +128,15 @@ h2.cat-title {
141128
list-style: none;
142129
}
143130
.projects-list li {
144-
padding: 5px;
131+
padding: 6px;
145132
display: flex;
146-
gap: 40px;
133+
gap: 10px;
134+
}
135+
.projects-list li .project-number {
136+
width: 35px;
137+
}
138+
.projects-list li .project-name {
139+
width: 80%;
147140
}
148141
/* hover */
149142
ul.list li .project-name:hover,

0 commit comments

Comments
 (0)