Skip to content

Commit

Permalink
✨ フッターの固定
Browse files Browse the repository at this point in the history
✨ グループページの追加
  • Loading branch information
kinoko2k committed Jun 16, 2024
1 parent 07adb0f commit 63a003e
Show file tree
Hide file tree
Showing 2 changed files with 373 additions and 0 deletions.
66 changes: 66 additions & 0 deletions group/kinokoteam.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta property='og:type' content='website'>
<meta property='og:title' content="KinokoTeam - GroupList">
<meta property='og:url' content='https://kinoko2k.github.io/ServiceColorCode/group/index.html'>
<meta property="og:description" content="
「KinokoTeam」
変なプログラムを作成し続けるグループ
所属人数は、4人
代表: X@kinoko1216">
<meta property="og:image" content="img/Kinoko_2K.png">
<meta property="og:profile:username" content="Kinoko_2K">
<meta name="twitter:card" content="summary">
<title>KinokoTeam - GroupList</title>
<meta name="description" content="カラーパレットグループリスト" />
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="header-container">
<div class="logo">
<a href="https://kinoko2k.github.io/ServiceColorCode/"><img src="https://avatars.githubusercontent.com/u/65443692?s=48&v=4" alt="アイコン"></a>
</div>
<div class="search-bar">
<input type="text" id="searchInput" placeholder="けんさくらん" onkeypress="handleKeyPress(event)">
<a href="https://twitter.com/intent/tweet?text=カラーコードサービスリスト - @kinoko1216%0Ahttps://kinoko2k.github.io/ServiceColorCode/" target="_blank">
<img src="../img/Twitter.svg" alt="Twitter" class="twitter-icon">
</a>
<a href="https://github.com/kinoko2k/ServiceColorCode" target="_blank">
<img src="../img/GitHub.png" alt="GitHub" class="github-icon">
</a>
</div>
</div>
</header>
<main>
<div class="content-list">
<div class="content-item" style="background: linear-gradient(45deg, #e49e61, #e0d35e, #e49e61);" data-tag="KinokoTeam" id="kinokoteam">
<div class="item-icon">
<img src="img/Kinoko_2K.png" alt="service-icon">
</div>
<div class="item-details">
<h1>KinokoTeam</h1>
<p class="description">これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。これはサービスの説明です。</p>
</div>
</div>
</div>
</main>
<footer>
<p>© 2024/06/09 <a href="https://github.com/kinoko2k/ServiceColorCode">ServiceColorCode</a><br><a href="https://github.com/kinoko2k/">Dev Kinoko_2K</a><br>※掲載されているサービス・グループはスポンサーシップ、パートナーシップ等に該当しません。掲載されているサービスについては、記載先のURLをご確認ください。</p>
</footer>
<div id="notification" class="notification"></div>
<div class="flower-menu" id="flowerMenu">
<div class="menu-button" onclick="toggleFlowerMenu()"></div>
<div class="menu-content">
<a href="../index.html">サービスリスト</a>
<a href="#">グループリスト</a>
<a href="../pallet.html">色見本</a>
<a href="https://github.com/kinoko2k/ServiceColorCode">GitHub</a>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
307 changes: 307 additions & 0 deletions group/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,307 @@
/* style.css */

body, html {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
zoom: 120%;
}

header {
background-color: #e49e61;
color: white;
padding: 10px 0;
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 1000;
transition: background-color 0.3s ease, padding 0.3s ease;
}

.header-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.logo img {
height: 40px;
}

.search-bar {
display: flex;
align-items: center;
}

.search-bar input {
padding: 5px 10px;
border: none;
border-radius: 4px;
margin-right: 10px;
}

.search-bar a {
display: flex;
align-items: center;
margin-left: 10px;
}

.search-bar .github-icon,
.search-bar .twitter-icon {
height: 24px;
cursor: pointer;
transition: transform 0.3s ease;
}

.search-bar .github-icon:hover,
.search-bar .twitter-icon:hover {
transform: scale(1.1);
}

.hero-image img {
width: 100%;
height: auto;
display: block;
}

.content-list {
max-width: 1200px;
margin: 20px auto;
padding: 0 20px;
}

.content-item {
display: flex;
flex-direction: column;
align-items: flex-start;
margin-bottom: 20px;
padding: 20px;
border-radius: 15px;
color: white;
border: 2px solid rgba(255, 255, 255, 0.4);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
background: linear-gradient(45deg, #1DA1F2, #0F1419);
}

.content-item:hover {
transform: scale(1.02);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.item-header {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
margin-bottom: 20px;
}

.item-icon img {
height: 50px;
margin-bottom: 10px;
}

.item-details h1 {
margin: 0;
font-size: 24px;
text-align: center;
position: relative;
display: inline-block;
}

.item-details h1::after {
content: '';
position: absolute;
width: 0;
height: 2px;
display: block;
margin-top: 5px;
right: 0;
background: white;
transition: width 0.3s ease, background-color 0.3s ease;
}

.item-details h1:hover::after {
width: 100%;
left: 0;
background: white;
}

.item-details .description {
font-size: 16px;
margin-top: 10px;
}

.color-code-wrapper {
display: flex;
flex-direction: column;
align-items: flex-end;
margin-top: 20px;
width: 100%;
}

.color-code {
font-size: 14px;
color: white;
margin-bottom: 10px;
text-align: right;
width: 100%;
}

.copy-btn {
padding: 10px 20px;
font-size: 14px;
cursor: pointer;
border: none;
border-radius: 20px;
background-color: #ffcccb;
color: #333;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.copy-btn:hover {
background-color: #ff9999;
transform: scale(1.1);
}

footer {
background-color: #333;
color: white;
text-align: center;
padding: 10px 0;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
}

footer p {
margin: 0;
white-space: pre-wrap;
}

footer a {
color: white;
text-decoration: none;
}

/* 枠点滅 */
@keyframes flash-border {
0% {
border-color: rgba(255, 0, 0, 0);
}
50% {
border-color: rgba(255, 0, 0, 1);
border-width: 3px;
}
100% {
border-color: rgba(255, 0, 0, 0);
}
}

.flash-border {
animation: flash-border 1s ease-in-out 2;
}

.notification {
position: fixed;
bottom: -50px;
left: 50%;
transform: translateX(-50%);
background-color: #4267B2;
color: white;
padding: 10px 20px;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: bottom 0.3s ease;
}

.notification.show {
bottom: 20px;
}

.flower-menu {
position: fixed;
bottom: 20px;
left: 20px;
z-index: 1000;
}

.menu-button {
background-color: #EEEEEE;
color: white;
font-size: 24px;
border: none;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.menu-button:hover {
transform: scale(1.1);
}

.menu-content {
display: none;
flex-direction: column;
align-items: center;
margin-top: 10px;
}

.menu-content a {
background-color: #ffeb3b;
color: #333;
padding: 10px;
border-radius: 50%;
margin: 5px 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
text-decoration: none;
}

.menu-content a:hover {
transform: scale(1.1);
}

@media (max-width: 768px) {
.header-container {
flex-direction: column;
align-items: flex-start;
}

.search-bar {
margin-top: 10px;
}

.content-item {
flex-direction: column;
align-items: flex-start;
}

.item-header {
flex-direction: column;
align-items: flex-start;
}

.item-icon {
margin: 10px 0;
}

.color-code-wrapper {
align-items: flex-start;
}

.notification {
bottom: 80px;
}
}

0 comments on commit 63a003e

Please sign in to comment.