Skip to content

Commit f7a2bb1

Browse files
Merge pull request #3 from Lemon73-Computing/Lemon73-Computing/issue2
Background of brand section is hidden in Firefox
2 parents 406ef1f + 4b541d7 commit f7a2bb1

File tree

1 file changed

+29
-25
lines changed

1 file changed

+29
-25
lines changed

index.html

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,30 @@
4242
}
4343
table tr td p:hover, table tr td p:focus{
4444
border-radius: 10px;
45-
box-shadow:0px 1px 8px 4px whitesmoke;
45+
box-shadow: 0px 1px 8px 4px whitesmoke;
46+
opacity: 0.7;
47+
}
48+
49+
.link p{
50+
margin: 36px 0;
51+
}
52+
.link p a{
53+
padding: 12px 14%;
54+
margin: 0 2%;
55+
border-radius: 8px;
56+
transition: 0.3s all;
57+
text-decoration: none;
58+
}
59+
.link p a:hover,
60+
.link p a:focus{
61+
box-shadow: 0px 1px 8px 4px whitesmoke;
4662
opacity: 0.7;
4763
}
4864
/* # ダークモード # */
4965
@media (prefers-color-scheme: dark){
50-
.link table tr td p, .link table tr td p{opacity: 0.8;}
51-
.link table tr td p:hover, .link table tr td p:focus{opacity: 1.0;}
52-
.link table tr td p a{color: black;}
53-
.link table tr td p a:hover, .link table tr td p a:focus{color: black;}
66+
.link p a{opacity: 0.8;}
67+
.link p a:hover, .link p a:focus{opacity: 1.0;}
68+
.link p a, .link p a:hover, .link p a:focus{color: black;}
5469
}
5570

5671
/* # ライトモード # */
@@ -64,14 +79,8 @@
6479
table tr th p a:hover, table tr td p a:focus{color: #9e9eff;}
6580
}
6681

67-
.link table tr td p{
68-
border-radius: 8px;
69-
transition: 0.3s all;
70-
}
71-
7282
@media (prefers-color-scheme: light){table tr th{background-color: mintcream;}}
7383
@media (prefers-color-scheme: dark){table tr th{background-color: unset;}}
74-
7584
</style>
7685
</head>
7786

@@ -96,21 +105,16 @@ <h2>注意点</h2>
96105
<p>そのため、最新情報に関しては<a href="https://lemon73.gitlab.io/">新サイト</a>を参照してください。</p>
97106

98107
<h2>ブランド</h2>
108+
99109
<div class="link">
100-
<table width="100%" cellpading="8px">
101-
<tr>
102-
<td width="20%"></td>
103-
<td width="30%"><p style="background-color: mistyrose;"><a href="/LEC-MainSite/kiss/">KISS</a></p></td>
104-
<td width="30%"><p style="background-color: lightpink;"><a href="/LEC-MainSite/coi/">COI</a></p></td>
105-
<td width="20%"></td>
106-
</tr>
107-
<tr>
108-
<td width="20%"></td>
109-
<td width="30%"><p style="background-color: lightcyan;"><a href="/LEC-MainSite/neo/">NEO</a></p></td>
110-
<td width="30%"><p style="background-color: lightgreen;"><a href="/LEC-MainSite/lfa/">LFA</a></p></td>
111-
<td width="20%"></td>
112-
</tr>
113-
</table>
110+
<p>
111+
<a style="background-color: mistyrose;" href="/LEC-MainSite/kiss/">KISS</a>
112+
<a style="background-color: lightpink;" href="/LEC-MainSite/coi/">COI</a>
113+
</p>
114+
<p>
115+
<a style="background-color: lightcyan;" href="/LEC-MainSite/neo/">NEO</a>
116+
<a style="background-color: lightgreen;" href="/LEC-MainSite/lfa/">LFA</a>
117+
</p>
114118
</div>
115119

116120
<h2>LECの活動</h2>

0 commit comments

Comments
 (0)