Skip to content

Commit d934a92

Browse files
committed
styles for the page
1 parent 000cd8f commit d934a92

File tree

1 file changed

+25
-17
lines changed

1 file changed

+25
-17
lines changed

styles.css

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,41 +45,49 @@ a {
4545
text-decoration: none;
4646
}
4747

48+
49+
* {
50+
box-sizing: border-box;
51+
}
52+
4853
html, body {
4954
height: 100%;
5055
width: 100%;
51-
overflow-y: hidden;
5256
}
5357

54-
header {
58+
body {
59+
display: flex;
60+
}
61+
62+
63+
.left {
64+
width: 50%;
65+
}
66+
67+
.left img {
5568
width: 100%;
56-
height: 300px;
57-
background: url("resources/JS30.png") no-repeat center;
58-
background-size: contain;
69+
height: auto;
5970
}
6071

6172

62-
main {
63-
width: 90%;
64-
height: calc(100% - 300px);
65-
margin: 0 auto;
66-
border: 1px solid black;
67-
/*overflow-y: auto;*/
73+
.right {
74+
width: 45%;
75+
height: 100%;
76+
overflow-y: scroll;
77+
margin-left: 5%;
6878
}
69-
main .links {
70-
margin-top: 100px;
79+
80+
.right .links {
7181
width: 100%;
7282
height: 100%;
7383
display: flex;
7484
flex-flow: column nowrap;
75-
overflow-y: auto;
76-
/*justify-content: space-between;
77-
align-content: space-between;
78-
align-items: center;*/
7985
}
8086

8187
.links .link {
8288
width: 100%;
89+
height: 100%;
8390
border: 1px solid black;
8491
border-radius: 5px;
92+
padding: 20px 0;
8593
}

0 commit comments

Comments
 (0)