diff --git a/index.html b/index.html index 2a100453..eb50a90a 100644 --- a/index.html +++ b/index.html @@ -6,8 +6,8 @@ - - + + @@ -277,23 +277,20 @@ - + diff --git a/rateus.css b/rateus.css new file mode 100644 index 00000000..119c4e83 --- /dev/null +++ b/rateus.css @@ -0,0 +1,107 @@ +body { + font-family: Arial, sans-serif; + background-color: black; /* Set the entire page background to black */ + color: #fff; /* Set default text color to white */ + margin: 0; /* Remove default body margin */ + padding: 0; /* Remove default body padding */ +} + +.header_container { + background-color: #022a2d; + opacity: 0.9; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + height: 85px; + margin: auto; + margin-top: 5px; /* Adjust this value to move the header down */ +} + +.img { + flex: 0 0 auto; /* Ensures the logo doesn't grow */ +} + +.nav_link li { + margin-right: 1px; /* Add space between items */ + padding: 4px 6px; + display: inline-block; +} + +.nav_link li a { + transition: all 0.3s ease 0s; + color: white; + text-decoration: none; /* Remove underline from nav links */ +} + +.container { + background-color: #fff; + padding: 20px; + border-radius: 8px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + text-align: center; + width: 450px; + margin: 20px auto; /* Center the container horizontally */ + transition: box-shadow 0.3s, transform 0.3s; + position: relative; /* Ensure relative positioning for absolute child */ +} + +.container:hover { + box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); + transform: scale(1.05); +} + +.container h2 { + color: #333; +} + +.rating { + margin: 20px 0; +} + +.rating .star { + cursor: pointer; + font-size: 30px; + color: #ccc; + transition: color 0.3s; /* Smooth transition for color change */ +} + +.rating .star.selected { + color: #f7d32e; /* Yellow color for selected stars */ +} + +.rating .star:hover, +.rating .star:hover ~ .star { + color: #f7d32e; /* Yellow color on hover */ +} + +textarea { + width: 90%; + height: 110px; + margin: 20px auto; /* Center the textarea vertically */ + padding: 10px; + border: 1px solid #ccc; + border-radius: 4px; + transition: box-shadow 0.3s, transform 0.3s; + background-color: #fff; /* Set textarea background color to white */ + color: #333; /* Set textarea text color to default */ +} + +textarea:hover { + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); + transform: scale(1.02); +} + +button { + background-color: #4bb6b7; + color: white; + padding: 10px 20px; + border: none; + border-radius: 4px; + cursor: pointer; + transition: background-color 0.3s; /* Smooth transition for background-color */ +} + +button:hover { + background-color: #4bb6b7; /* Darker shade of green on hover */ +} diff --git a/rateus.html b/rateus.html new file mode 100644 index 00000000..617ffbfd --- /dev/null +++ b/rateus.html @@ -0,0 +1,72 @@ + + +
+ + +