Skip to content

Commit 2d7e675

Browse files
authored
Update style.css
1 parent fd3c8e1 commit 2d7e675

File tree

1 file changed

+110
-67
lines changed

1 file changed

+110
-67
lines changed

style.css

Lines changed: 110 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,125 @@
1-
@charset "utf-8";
1+
/* 全体のスタイル */
2+
body {
3+
font-family: Arial, sans-serif;
4+
background-color: #f4f4f9;
5+
color: #333;
6+
margin: 0;
7+
padding: 0;
8+
}
29

10+
/* ヘッダー部分 */
11+
header {
12+
background-color: #2c3e50;
13+
color: #fff;
14+
padding: 20px;
15+
text-align: center;
16+
}
317

4-
/*Gakusi BOT/*
5-
18+
/* ナビゲーション */
19+
ul.gnavi__lists {
20+
list-style-type: none;
21+
padding: 0;
22+
margin: 0;
23+
display: flex;
24+
justify-content: center;
25+
background-color: #34495e;
26+
}
627

28+
.gnavi__list {
29+
margin: 0 15px;
30+
}
731

32+
.gnavi__list a {
33+
color: white;
34+
text-decoration: none;
35+
font-size: 16px;
36+
}
837

9-
/*メニューバー*/
38+
.gnavi__list a:hover {
39+
text-decoration: underline;
40+
}
1041

42+
/* ボット導入リンク */
43+
.BOT_invitation {
44+
color: #fff;
45+
background-color: #27ae60;
46+
padding: 10px 20px;
47+
border-radius: 5px;
48+
text-decoration: none;
49+
margin-left: 20px;
50+
}
1151

12-
.gnavi__title{
13-
width: 500px;
14-
background-color: aqua;
15-
width: 100; /*要素の幅を設定します。*/
16-
height: 30px; /*要素の高さを設定します。*/
17-
background-color: aquamarine; /*背景色を設定します。*/
18-
position: relative; /*要素の位置を設定します。*/
52+
.BOT_invitation:hover {
53+
background-color: #2ecc71;
54+
}
1955

56+
/* ニュースセクション */
57+
section.NEWS_list {
58+
padding: 40px;
59+
background-color: #ecf0f1;
60+
text-align: center;
2061
}
21-
.gnavi {
22-
width: 1200px; /*要素の幅を設定します。*/
23-
margin: 0% auto; /*ほかの要素とのスペース幅を設定します。*/
62+
63+
.NEWS_tatle {
64+
font-size: 24px;
65+
color: #2c3e50;
66+
margin-bottom: 10px;
2467
}
25-
.gnavi__lists {
26-
display: flex; /*要素の並び方 ( 横並び ) を設定します。*/
68+
69+
.NEWS_text {
70+
font-size: 18px;
71+
color: #7f8c8d;
2772
}
28-
.gnavi__list {
29-
width: 10%; /*要素の幅を設定します。*/
30-
height: 60px; /*要素の高さを設定します。*/
31-
background-color: aquamarine; /*背景色を設定します。*/
32-
position: relative; /*要素の位置を設定します。*/
33-
transition: all .3s; /*アニメーションの速度を設定します。*/
34-
list-style:none /*・を削除します*/
35-
}
36-
.gnavi__list:hover {
37-
background-color: aqua; /*背景色を設定します。*/
38-
}
39-
.gnavi__list:not(:first-child)::before {
40-
content: ""; /*挿入するプロパティーの設定します。*/
41-
width: 0%; /*要素の横幅を設定します。*/
42-
height: 100%; /*要素の高さを設定します。*/
43-
background-color: aqua; /*要素の背景色を設定します。*/
44-
position: absolute; /*要素の位置を設定します。*/
45-
top: 10; /*上からの配置位置を設定します。*/
46-
left: 0; /*左からの配置位置を設定します。*/
47-
transition: all .3s; /*アニメーションの速度を設定します*/
48-
}
49-
.gnavi__list:hover::before {
50-
background-color: #0071BB; /*背景色を設定します。*/
73+
74+
/* Gakusei BOTの特徴 */
75+
h1[name="develope"] {
76+
font-size: 28px;
77+
color: #2c3e50;
78+
text-align: center;
79+
margin-top: 40px;
5180
}
52-
.gnavi__list a {
53-
display: flex; /*要素の並び方 ( 横並び ) を設定します。 */
54-
justify-content: center; /*要素の間隔を設定します。*/
55-
align-items: center; /*上下のどこに配置するか設定します。*/
56-
width: 100%; /*要素の横幅を設定します。*/
57-
height: 100%; /*要素の高さを設定します。*/
58-
text-decoration: none;/*テキストの装飾を設定します。*/
59-
color: #1b4059; /*テキストの色を設定します。*/
60-
font-size: 15px; /*テキストサイズを設定します。*/
61-
letter-spacing: 0.05em; /*テキストの水平方向の字間のスペースを設定します。*/
62-
font-weight: 600; /*テキストの高さを設定します。*/
63-
transition: all .3s; /*アニメーションの速度を設定します。*/
81+
82+
ul {
83+
padding: 0;
84+
list-style-type: none;
85+
text-align: center;
6486
}
6587

66-
.BOT_invitation {
67-
display: flex;
68-
justify-content: center;
69-
align-items: center; /上下のどこに配置するか設定します。/
70-
width: 15%; /要素の横幅を設定します。/
71-
height:65px; /要素の高さを設定します。/
72-
text-decoration: none;/テキストの装飾を設定します。/
73-
color: #ffffff; /テキストの色を設定します。/
74-
font-size: 20px; /テキストサイズを設定します。/
75-
letter-spacing: 0.05em; /テキストの水平方向の字間のスペースを設定します。/
76-
font-weight: 600; /テキストの高さを設定します。/
77-
background-color: #0071BB;
78-
border-radius: 100px;
79-
font-weight: 600;
80-
position: relative;
81-
transition: all .3s; /アニメーションの速度を設定します。/
88+
ul li {
89+
font-size: 18px;
90+
margin: 10px 0;
91+
}
92+
93+
/* 概要セクション */
94+
section[name="概要"] {
95+
background-color: #ecf0f1;
96+
padding: 30px;
97+
}
98+
99+
h1[name="概要"] {
100+
font-size: 24px;
101+
color: #2c3e50;
102+
text-align: center;
103+
}
104+
105+
ul li {
106+
font-size: 18px;
107+
text-align: center;
108+
margin: 10px 0;
109+
}
110+
111+
/* フッター */
112+
h3 {
113+
font-size: 18px;
114+
color: #7f8c8d;
115+
text-align: center;
116+
margin-top: 40px;
117+
}
118+
119+
/* 著作権表示 */
120+
h25 {
121+
font-size: 14px;
122+
color: #7f8c8d;
123+
text-align: center;
124+
margin-top: 40px;
82125
}

0 commit comments

Comments
 (0)