Latihan Soal Matematika SD Kelas 1 : Ayo Menghitung

Posted on
/* — CSS styles from style.css start here — */ body { font-family: ‘Poppins’, sans-serif; background-color: #f0f8ff; /* Light blue background */ margin: 0; padding: 20px; display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; color: #333; } .container { background-color: #ffffff; border-radius: 15px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); padding: 30px 40px; max-width: 900px; width: 100%; margin: 20px 0; } header { text-align: center; margin-bottom: 30px; } header h1 { color: #4CAF50; /* Green */ font-size: 2.8em; margin-bottom: 15px; text-shadow: 2px 2px 5px rgba(0,0,0,0.1); } header p { font-size: 1.1em; line-height: 1.6; color: #555; } .info-box { background-color: #e0f7fa; /* Light cyan */ border-left: 5px solid #00BCD4; /* Cyan */ padding: 15px 20px; margin-top: 25px; text-align: left; border-radius: 8px; font-size: 0.95em; } .info-box p { margin: 5px 0; color: #263238; } .quiz-section { margin-bottom: 40px; padding: 20px; background-color: #f9f9f9; border-radius: 10px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); } .quiz-section h2 { color: #007bff; /* Blue */ font-size: 2em; margin-bottom: 20px; text-align: center; } .quiz-section h3 { color: #673AB7; /* Deep Purple */ font-size: 1.5em; margin-top: 25px; margin-bottom: 15px; border-bottom: 2px solid #EEE; padding-bottom: 10px; } .materi-item { background-color: #f1f8e9; /* Light green */ border-left: 4px solid #8BC34A; /* Light green accent */ padding: 15px; margin-bottom: 15px; border-radius: 8px; } .materi-item h3 { color: #33691E; /* Dark green */ font-size: 1.2em; margin-top: 0; margin-bottom: 10px; border-bottom: none; padding-bottom: 0; } .materi-item ul { list-style: disc; margin-left: 20px; line-height: 1.8; } .materi-item li { margin-bottom: 5px; } .question-group > p { font-style: italic; color: #666; margin-bottom: 20px; text-align: center; } .question { background-color: #ffffff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 18px 20px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03); } .question p { margin-bottom: 12px; font-size: 1.1em; font-weight: 600; color: #444; } .question label { display: block; margin-bottom: 8px; cursor: pointer; font-size: 1em; padding: 5px 0; } .question input[type=”radio”], .question input[type=”text”], .question textarea { margin-right: 10px; vertical-align: middle; } .question input[type=”text”], .question textarea { width: calc(100% – 20px); padding: 10px 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1em; margin-top: 5px; box-sizing: border-box; } .question textarea { resize: vertical; min-height: 80px; } button { display: block; width: 100%; padding: 15px 25px; background-color: #FF5722; /* Deep Orange */ color: white; border: none; border-radius: 10px; font-size: 1.3em; font-weight: bold; cursor: pointer; margin-top: 30px; transition: background-color 0.3s ease, transform 0.2s ease; letter-spacing: 0.5px; } button:hover { background-color: #E64A19; /* Darker Deep Orange */ transform: translateY(-2px); } button:active { transform: translateY(0); } .quiz-results { margin-top: 40px; padding: 30px; background-color: #e8f5e9; /* Light green results background */ border: 2px solid #4CAF50; /* Green border */ border-radius: 15px; text-align: center; } .quiz-results h2 { color: #4CAF50; font-size: 2.5em; margin-bottom: 20px; text-shadow: 1px 1px 3px rgba(0,0,0,0.1); } .score-summary { font-size: 1.3em; margin-bottom: 10px; font-weight: 600; } .score-summary span { color: #FF5722; font-weight: bold; font-size: 1.1em; } .total-score { font-size: 1.6em; color: #007bff; margin-top: 20px; padding-top: 15px; border-top: 1px dashed #ccc; } .total-score span { font-size: 1.2em; color: #007bff; } .answer-key-heading { margin-top: 30px; color: #3F51B5; /* Indigo */ font-size: 1.8em; border-bottom: 2px solid #c5cae9; padding-bottom: 10px; } #detailedFeedback .question { text-align: left; background-color: #fefefe; border-color: #d1e7dd; } .feedback { margin-top: 10px; padding: 8px 12px; border-radius: 5px; font-size: 0.95em; font-weight: 500; } .correct { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .incorrect { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .info { /* For Uraian questions feedback */ background-color: #e2f3f9; color: #0c5460; border: 1px solid #bee5eb; } .correct-answer-text { font-weight: bold; color: #155724; /* Dark green for correct answer */ } .your-answer-text { font-style: italic; color: #721c24; /* Dark red for user’s incorrect answer */ } footer { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #e0e0e0; color: #777; font-size: 0.95em; } /* Responsive adjustments */ @media (max-width: 768px) { .container { padding: 20px 25px; } header h1 { font-size: 2em; } .quiz-section h2 { font-size: 1.6em; } .quiz-section h3 { font-size: 1.3em; } button { font-size: 1.1em; padding: 12px 20px; } } @media (max-width: 480px) { body { padding: 10px; } .container { padding: 15px 20px; } header h1 { font-size: 1.8em; } .question p { font-size: 1em; } .question label { font-size: 0.9em; } .quiz-results h2 { font-size: 2em; } .score-summary { font-size: 1.1em; } .total-score { font-size: 1.3em; } } /* — CSS styles end here — */

Leave a Reply

Your email address will not be published. Required fields are marked *