diff --git a/public/sample/php/final-work/twitter/index.php b/public/sample/php/final-work/twitter/index.php index bec669f..521d721 100644 --- a/public/sample/php/final-work/twitter/index.php +++ b/public/sample/php/final-work/twitter/index.php @@ -20,28 +20,29 @@ box-sizing: border-box; } body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; - background-color: #f0f2f5; + font-family: Arial, sans-serif; + background-color: #f5f5f5; padding: 20px; } .container { max-width: 600px; margin: 0 auto; background: white; - border-radius: 8px; - box-shadow: 0 1px 3px rgba(0,0,0,0.1); + border: 2px solid #333; } .header { padding: 20px; - border-bottom: 1px solid #e1e8ed; + border-bottom: 2px solid #333; + background: #fff; } h1 { - font-size: 20px; - color: #1da1f2; + font-size: 18px; + color: #333; + font-weight: normal; } .post-form { padding: 20px; - border-bottom: 1px solid #e1e8ed; + border-bottom: 2px solid #333; } .form-group { margin-bottom: 15px; @@ -49,118 +50,130 @@ label { display: block; margin-bottom: 5px; - font-weight: 600; - font-size: 14px; - color: #657786; + font-size: 12px; + color: #666; + text-transform: uppercase; + letter-spacing: 0.5px; } input[type="text"] { width: 100%; - padding: 10px; - border: 1px solid #e1e8ed; - border-radius: 4px; + padding: 8px; + border: 1px solid #999; + background: white; font-size: 14px; + font-family: Arial, sans-serif; } textarea { width: 100%; - padding: 10px; - border: 1px solid #e1e8ed; - border-radius: 4px; - font-size: 15px; + padding: 8px; + border: 1px solid #999; + background: white; + font-size: 14px; resize: vertical; min-height: 80px; - font-family: inherit; + font-family: Arial, sans-serif; } button { - background-color: #1da1f2; - color: white; - border: none; - padding: 10px 20px; - border-radius: 9999px; - font-weight: 600; + background-color: white; + color: #333; + border: 2px solid #333; + padding: 8px 16px; + font-weight: normal; font-size: 14px; cursor: pointer; - transition: background-color 0.2s; + text-transform: uppercase; + letter-spacing: 0.5px; } button:hover { - background-color: #1a91da; + background-color: #333; + color: white; } .timeline { padding: 0; } .timeline-header { padding: 15px 20px; - border-bottom: 1px solid #e1e8ed; - font-weight: 700; - font-size: 16px; + border-bottom: 1px solid #ddd; + font-weight: normal; + font-size: 14px; + background: #fafafa; + text-transform: uppercase; + letter-spacing: 0.5px; } .tweet { - padding: 15px 20px; - border-bottom: 1px solid #e1e8ed; - transition: background-color 0.2s; + padding: 20px; + border-bottom: 1px solid #ddd; } - .tweet:hover { - background-color: #f7f9fa; + .tweet:last-child { + border-bottom: none; } .tweet-header { display: flex; justify-content: space-between; - margin-bottom: 8px; + margin-bottom: 10px; + padding-bottom: 8px; + border-bottom: 1px solid #eee; } .username { - font-weight: 700; - color: #14171a; - font-size: 15px; + font-weight: bold; + color: #333; + font-size: 14px; } .timestamp { - color: #657786; - font-size: 13px; + color: #999; + font-size: 12px; } .tweet-content { - color: #14171a; - font-size: 15px; - line-height: 1.5; + color: #333; + font-size: 14px; + line-height: 1.6; word-wrap: break-word; } .empty-state { - padding: 40px 20px; + padding: 60px 20px; text-align: center; - color: #657786; + color: #999; + border: 2px dashed #ddd; + margin: 20px; + } + .empty-state p { + font-size: 14px; }
-

🐦 Twitterライク

+

[ Twitterライク ]

-
+
- +
- +
- +
-
タイムライン
+
Timeline
-

まだ投稿がありません

-

最初のツイートをしてみましょう!

+

[ No Tweets Yet ]

+

最初のツイートをしてみましょう

- + @
diff --git a/public/workspace/php/twitter/index.php b/public/workspace/php/twitter/index.php index a06f381..636f9d6 100644 --- a/public/workspace/php/twitter/index.php +++ b/public/workspace/php/twitter/index.php @@ -16,6 +16,7 @@

つぶやき投稿

+