admin-index.css
3 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
* {
box-sizing: border-box;
}
a {
text-decoration: none;
}
header {
height: 100px;
padding: 20px;
display: block;
}
section {
clear: left;
display: block;
height: 50%;
border: 1px solid #000;
}
footer {
border: 1px solid #000;
height: 20%;
}
header img#logo {
height: 50px;
vertical-align: middle;
overflow: hidden;
}
#search, #login {
float: right;
margin: 10px;
}
/* 메뉴를 위한 */
/* 메뉴바 전체 */
.menu {
background: #47a3da;
position: fixed;
top: 107px;
width: 200px;
height: 80%;
z-index: 1000;
}
/* 메뉴바의 Menu */
.menu div {
color: #afdefa;
font-size: 1.9em;
padding: 20px;
margin: 0;
font-weight: 300;
background: #0d77b6;
}
.menu h3 {
display: inline-block;
}
.menu #hide-menu {
text-align: center;
}
.menu a {
display: block;
color: #fff;
font-size: 1.1em;
font-weight: 300;
border-bottom: 1px solid #258ecd;
padding: 1em;
}
.menu a:hover {
background: #258ecd;
}
.menu a:active {
background: #afdefa;
color: #47a3da;
}
/* 메뉴 숨기기 */
.menu-hide{
left: -200px;
}
.menu-hide.menu-open {
left: 0px;
}
/*
transition 속성
메뉴바의 변화가 천천히 일어나도록
즉 슬라이드처럼 보이게함 */
.menu {
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
transition: all 0.3s ease;
}
section {
display: flex;
/* flex-direction: row;
flex-wrap: wrap; */
flex-flow: row wrap;
text-align: center;
}
#bookmark-menu, #today, #offer {
width: 98%;
border: 1px solid black;
background: #ccc;
}
@media screen and (max-width: 360px){
#traffic-info, #weather-info, #rainfall-info, #search-fish, #best-post, #newest-post, #board, #map{
width: 100%;
border: 1px solid black;
background: #ccc;
}
#search, #login {
display: none;
}
}
@media screen and (min-width: 361px) and (max-width: 768px){
#traffic-info, #weather-info, #rainfall-info, #search-fish, #best-post, #newest-post, #board{
width: 50%;
border: 1px solid black;
background: #ccc;
}
#board{
width: 100%;
}
#map {
width: 100%;
border: 1px solid black;
background: #ccc;
}
#search, #login {
display: none;
}
}
@media screen and (min-width: 769px){
#traffic-info, #weather-info, #rainfall-info, #search-fish, #best-post, #newest-post, #board{
width: 33.333333%;
border: 1px solid black;
background: #ccc;
}
#map {
width: 66.666666%;
border: 1px solid black;
background: #ccc;
}
}