-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle3.css
121 lines (89 loc) · 2.41 KB
/
style3.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* remove the list style */
#top_menu {
margin:0px;
padding:0px;
list-style:none;
}
/* make the LI display in-line */
/* it's position relative so that position absolute */
/* can be used in sub-menu */
#top_menu li {
float:left;
display:block;
width: 120px;
height: 30px;
border-radius: 10px;
border: 3px solid black;
position:relative;
z-index:500;
list-style: none;
margin: 5px ;
padding: 3px;
background:white;
}
#top_menu a:link {color:black;}
#top_menu a:link {text-decoration:none;}
#top_menu a:visited {text-decoration:none;}
#top_menu a:visited {color:black;}
/* this is the parent menu */ /*the order is = ul>li>ul>li>a*/
#top_menu li a {
display:block;
padding:0px;
text-decoration:none;
font: bold 12px Arial;
text-align: center;
height: 35px;
}
/* submenu, it's hidden by default */
#top_menu ul {
position:absolute;
display:none;
margin-left:-12px;
margin-top:0px;
padding:0px;
list-style:none;
}
body{
max-width: 1080px; /*this is needed for flexible box style*/
display:-webkit-box; /*this is needed for flexible box model; it says about a special tool box/kit that holds some flexible boxes*/
/*and this will not work in all the browser*/
margin-top: 20px;
margin-left: 40px;
}
#big_guy{
/*width:100%; /*this is needed for flexible box style*/
display:-webkit-box; /*this is needed for flexible box model; it says about a special tool box/kit that holds some flexible boxes*/
/*and this will not work in all the browser*/
-webkit-box-orient: vertical; /*each child under big_guy will be shown as a box place vertical*/
-webkit-box-flex: 1; /*the value of the website width/height is flexible*/
}
#main_section{ /*under section_div are main section and side news*/
-webkit-box-flex: 1;
display:-webkit-box;
/*margin:20px;*/
position: relative;
margin: 0px;
padding:5px;
margin-top: 5px;
border: 3px solid black;
border-radius: 10px;
height: 470px;
}
#content{ /*under section_div are main section and side news*/
-webkit-box-flex: 1;
display:-webkit-box;
/*margin:20px;*/
margin: 0px;
padding:0px;
-webkit-box-orient: vertical;
padding:5px;
}
/*margin:0 0 0 0 means margin: north east south west*/
p{
line-height:170%;
font-family: Arial;
font-size: 16px;
}
/*#main_section div:not(#home){ //hide done with jquery; no need here
display: none;
}*/