Skip to content

Commit fe8f6f3

Browse files
TSGTSG
TSG
authored and
TSG
committed
12.02.2020
Refactored some CSS and fixed some alignment issues
1 parent 9648762 commit fe8f6f3

File tree

3 files changed

+399
-18
lines changed

3 files changed

+399
-18
lines changed

css/maincss.css

+32-16
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,47 @@ body{
44
padding: 0;
55
background-color: rgb(209, 142, 59);
66
}
7-
8-
/* Body wraper - Style is grid*/
9-
.Body_wapper {
10-
justify-content: center;
11-
display: grid;
12-
grid-template-columns: 700px 100px;
13-
grid-gap: 0px;
14-
overflow: hidden;
15-
}
167

17-
/* Header_Main*/
8+
/* Header_Main*/
189
#header_main {
10+
font-family: 'Lucida Console', 'Arial Narrow', Arial, sans-serif;
1911
width: 100%;
12+
padding: 8px;
2013
position: fixed;
2114
background-color: rgb(255, 128, 0);
22-
padding: 5px;
23-
15+
}
16+
17+
/* Body wraper - Style is grid*/
18+
.Body_wapper {
19+
margin: auto;
20+
overflow:hidden;
2421
}
2522

2623
/* Navigation_top*/
24+
.nav_top {
25+
font-family: 'Raleway', Arial, sans-serif;
26+
font-size: 12px;
27+
text-transform: uppercase;
28+
top: 6px;
29+
letter-spacing: 5px;
30+
right: 30px;
31+
position:fixed;
32+
}
2733

34+
ul a:hover {
35+
padding: 0;
36+
color: #05FCE8;
37+
}
2838

29-
/*Main sections*/
39+
li {
40+
display: inline-block;
41+
padding: 9px;
42+
}
43+
/*Main sections*/
3044
.section_1, .section_2, .section_3 {
31-
margin-left: -600px;
45+
z-index: -2;
46+
position: relative;
47+
margin: 50px;
3248
border-style: solid;
3349
border-width: .01px;
3450
border-radius: .9px;
@@ -37,13 +53,13 @@ body{
3753

3854
.section_1 {
3955
margin-top: 65px;
40-
padding: 2px;
56+
padding: 5px;
4157
width: 300px;
4258
}
4359

4460
.section_2{
4561
margin-top: 10px;
46-
padding: 2px;
62+
padding: 5px;
4763
width: 400px;
4864
}
4965

0 commit comments

Comments
 (0)