-
Notifications
You must be signed in to change notification settings - Fork 0
/
aboutme_html.css
132 lines (94 loc) · 1.82 KB
/
aboutme_html.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
@charset "utf-8";
*{
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
.header {
padding: 30px;
text-align: left;
background: rgb(193, 231, 123);
color: rgb(201, 126, 126);
font-size: 30px;
}
.nav {
overflow: hidden;
background-color: gray;
position: sticky;
top: 0;
}
/* Style the navigation bar links */
.nav a {
float: left;
display: block;
color: white;
text-align: center;
padding: 10px 18px;
font-size: large;
text-decoration: line;
}
/* Change color on hover */
.nav a:hover {
background-color: white;
color: black;
}
/* Active/current link */
.nav a.active {
background-color: #666;
color: white;
}
.container {
width: 100%;
background-color: white;
/*container 값을 지정(margin 값을 설정)해주어야 nav에 있는 position:sticky가 작동하는 것 같음*/
margin:0 auto;
}
.container img{
width: 550px;
height: 350px;
float: left;
vertical-align: bottom;
margin-right: 35px;
}
.container h4{
padding-bottom: 23px;
font-size: xx-large;
position: top;
border-bottom: solid;
border-width: 1px;
margin-left: 585px
}
.container p{
font-size: 20px;
line-height: 180%;
}
.content1{
width: 100%;
background-color: white;
padding: 25px;
float: left;
border-bottom: solid;
border-width: 1px;
}
.content2{
width: 100%;
background-color: white;
padding: 25px;
float: left;
border-bottom: solid;
border-width: 1px;
}
.content3{
width: 100%;
background-color: white;
padding: 25px;
float: left;
border-bottom: solid;
border-width: 1px;
}
.footertext{
font-size: 15px;
padding: 10px;
}