-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
153 lines (134 loc) · 2.58 KB
/
main.css
File metadata and controls
153 lines (134 loc) · 2.58 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
/* 공통 스타일 */
body {
font-family: Arial, sans-serif;
background-color: #E6E6E6;
}
/* 로고 스타일 */
.logo {
display: inline-block;
background-color: #4a88e5;
color: #fff;
width: 60px;
height: 60px;
font-size: 20px;
text-align: center;
line-height: 60px;
border-radius: 50%;
padding: 10px;
margin: 10px;
}
/* 문구 스타일 */
.tagline {
display: inline-block;
color: #000;
text-align: center;
font-size: 25px;
}
/* 버튼 스타일 */
.button {
display: inline-block;
padding: 10px;
margin: 10px;
border-radius: 5px;
text-decoration: none;
}
.button.plus-one {
display: inline-block;
padding: 10px;
margin: 10px;
border-radius: 5px;
text-decoration: none;
color: #8f53b2;
font-size: 30px;
font-size: 35px;
}
.button.my {
background-color: #757575;
color: #fff;
border-radius: 15px;
}
.button.list {
background-color: #757575;
color: #fff;
}
/* 검색창 스타일 */
.search-container {
text-align: center;
margin-top: 10px;
}
#search-input {
padding: 15px;
width: 1200px;
font-size: 16px;
border-radius: 30px;
background-color: #757575;
}
#search-button {
position: relative;
border-radius: 10px;
left: -30px;
padding: 15px 25px;
font-size: 16px;
}
/* 왼쪽 영역 스타일 */
.left-area {
position: relative;
float: left;
width: 50%;
padding: 20px;
box-sizing: border-box;
}
/* 추천 동영상 및 랜덤 문제 스타일 */
.box {
position: relative;
margin: 50px;
margin-bottom: 20px;
padding: 120px;
border-radius: 20px;
background-color: #fff;
color: #000;
font-size: 32px;
font-weight: 700;
}
/* 오른쪽 영역 스타일 */
.right-area {
float: right;
width: 50%;
padding: 20px;
box-sizing: border-box;
text-align: right;
}
/* 소스 코드 제목 스타일 */
.source-code {
margin: 50px;
margin-bottom: 20px;
padding: 260px;
border-radius: 20px;
background-color: #fff;
color: #000;
font-size: 32px;
font-weight: 700;
width: 400;
text-align: center;
position: relative;
}
/* 소스 코드 제목 스타일 */
.source-code-title {
position: absolute;
top: 100px;
left: 50%;
transform: translateX(-50%);
}
/* 소스 코드 텍스트 스타일 */
.source-code-text {
font-size: 16px;
text-align: center;
}
/* 금주 소스코드 랭킹 스타일 */
.ranking {
position: absolute;
top: 220px;
right: 620px;
font-size: 20px;
color: #1E1E1E;
}