This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebsite.css
95 lines (82 loc) · 1.65 KB
/
website.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
body{
background:#f4f4f4;
color: #555;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 1.6em;
margin:0;
}
.container{
width: 80%;
margin: auto;
overflow:hidden; /* there is no scroll bars if something goes down of this container */
}
#main-header{
background:coral;
color: #fff;
}
#navbar{
background: #333;
color: white;
}
#navbar ul{
padding: 0;
list-style:none;
}
#navbar li{
display:inline; /* rendre colone to ligne */
}
#navbar a{
color: white;
text-decoration:none;
font-size: 18px;
padding-right: 15px;
}
#showcase{
background: url('../../../images/1.jpeg');
background-repeat: no-repeat;
background-position: center left;
min-height:300px; /* when we make the page smaller the height will grow with text to make it responsive */
margin-bottom: 30px;
text-align: center;
}
#showcase h1{
color: white;
font-size: 50px;
line-height: 1.6em;
padding-top: 30px;
}
#main{
float: left;
width: 70%;
padding: 0 30px;
box-sizing: border-box;
}
#sidebar{
float: right;
width: 30%;
background: #333;
color: white;
padding: 10px;
box-sizing: border-box;
}
#main-footer{
background: #333;
color: #fff;
text-align: center;
padding: 20px;
margin-top: 40px;
}
/* to remove floating when the size is smaller for android
so any styles we put here it is under 600 px so we wanna remove the float from the main and the sidebar and also change the width for both of thosse to a 100%
*/
@media(max-width:600px){
#main{
width: 100%;
float: none;
}
#sidebar{
width: 100%;
float: none;
}
}