diff --git a/css/style.css b/css/style.css index 41db137d..810c9dd6 100644 --- a/css/style.css +++ b/css/style.css @@ -1,59 +1,183 @@ +/* General Reset */ +* { + box-sizing: border-box; + margin: 0; + padding: 0; +} +body { + font-family: "Lato", sans-serif; + background-color: #f5f7fa; + color: #333; +} -.inline-block { -display: inline; +/* Top Label */ +.TopLabel { + font-weight: bold; + font-size: 1.5rem; + margin: 1rem; } -.table { -background: orange; -width: 90%; -text-align: left; -margin: auto; +/* Container Layout */ +.search-body { + background-color: #fff; + border-radius: 12px; + box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07); + padding: 2rem; + margin: 2rem auto; + max-width: 1100px; } +/* Spinner Styling */ .spinner { display: none; position: absolute; left: 50%; top: 50%; - z-index: 1; - width: 150px; - height: 150px; - margin: -75px 0 0 -75px; - border: 16px solid #f3f3f3; + z-index: 10; + transform: translate(-50%, -50%); + width: 80px; + height: 80px; + border: 8px solid #f3f3f3; + border-top: 8px solid #7057ff; border-radius: 50%; - border-top: 16px solid #3498db; - width: 120px; - height: 120px; - -webkit-animation: spin 2s linear infinite; - animation: spin 2s linear infinite; + animation: spin 1s linear infinite; +} + +@keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} + +/* Issue Label Tags */ +.IssueLabel { + padding: 0.25rem 0.75rem; + font-size: 0.85rem; + font-weight: 600; + border-radius: 4px; + display: inline-block; + margin-right: 0.5rem; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); +} + +.GoodFirstIssue { + background-color: #7057ff; + color: #fff; +} + +.StarterTask { + background-color: #62dbc9; + color: #000; } +.HelpWanted { + background-color: #008672; + color: #fff; +} + +/* Language Form */ +.form-header { + margin-bottom: 1.5rem; +} + +.LanguageOptions { + min-width: 220px; + border-radius: 6px; + padding: 0.5rem; + border: 1px solid #ccc; +} + +/* Table Styling */ +.table-responsive { + overflow-x: auto; +} + +.table { + width: 100%; + margin-top: 1rem; + border-collapse: collapse; + border-radius: 8px; + overflow: hidden; + background-color: #fff; +} -@-webkit-keyframes spin { - 0% { -webkit-transform: rotate(0deg); } - 100% { -webkit-transform: rotate(360deg); } +.table th, +.table td { + padding: 1rem; + text-align: left; + border-bottom: 1px solid #f0f0f0; } +.table thead { + background-color: #f8f9fa; + font-weight: 600; +} + +.table th.sortsTable:hover { + color: #7057ff; + cursor: pointer; +} + +/* Utility Classes */ +.hidden { + display: none !important; +} + +.QuestionsSuggestions { + font-size: 0.875rem; + color: #666; + margin: 1.5rem 0; + text-align: center; +} + +.QuestionsSuggestions a { + color: #0073e6; + text-decoration: none; +} + +.QuestionsSuggestions a:hover { + text-decoration: underline; +} + +/* Buttons */ .btn-primary { - color: #fff; - background-color: #0073e6; - border-color: #0073e6; + background-color: #0073e6; + border-color: #0073e6; + color: #fff; +} + +.btn-primary:hover { + background-color: #005bb5; + border-color: #005bb5; } .btn { - display: inline-block; - font-weight: 400; - line-height: 1.25; + padding: 0.5rem 1rem; + font-size: 1rem; + border-radius: 0.375rem; +} + +/* Responsive Enhancements */ +@media (max-width: 768px) { + .form-header { text-align: center; - white-space: nowrap; - vertical-align: middle; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - border: 1px solid transparent; - padding: .5rem 1rem; - font-size: 1rem; - border-radius: .25rem; + } + + .LanguageOptions { + width: 100%; + } + + .TopLabel { + font-size: 1.25rem; + text-align: center; + } + + .table th, + .table td { + padding: 0.75rem; + } } diff --git a/index.html b/index.html index 1f6f9d4a..b3d916dd 100644 --- a/index.html +++ b/index.html @@ -1,683 +1,153 @@ - + -
- - - - - - - - - - - - - - -.com
- - - -Made for new contributors to find great Open Source projects.
-Discover Issues and Repositories with and labels.
-+ Good First Issue.com +
+ ++ Made for new contributors to find great Open Source projects. +
++ Discover Issues and Repositories with: + Help Wanted + Starter Task + Good First Issue +
+ +