اليوم الموافق : السبت , 17 يناير 2026

9 تعليقات

  1. 4

    شم

    // يغيّر خلفية الصفحة إلى أحمر ونصوصها إلى أبيض مع انتقال لطيف
    (function(){
    const css = `
    html, body, #app, .app { background: #c00000 !important; color: #fff !important; }
    * { background-color: transparent !important; color: inherit !important; }
    a, button, input, textarea { color: #fff !important; border-color: rgba(255,255,255,0.6) !important; }
    body { transition: background-color 0.4s ease, color 0.4s ease; }
    `;
    const style = document.createElement(‘style’);
    style.id = ‘force-red-style’;
    style.appendChild(document.createTextNode(css));
    // استبدال إذا كان موجودًا سابقًا
    const prev = document.getElementById(‘force-red-style’);
    if(prev) prev.remove();
    document.head.appendChild(style);
    })();

    الرد
  2. 5

    شم

    // Script to change the page background to red and text to white with smooth transition
    (function() {
    const css = `
    html, body, #app, .app {
    background-color: #c00000 !important;
    color: #fff !important;
    transition: background-color 0.4s ease, color 0.4s ease;
    }
    * {
    background-color: transparent !important;
    color: inherit !important;
    }
    a, button, input, textarea {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    }
    `;

    // Create a element and add CSS text
    const style = document.createElement(‘style’);
    style.id = ‘force-red-style’; // assign an ID for easy replacement

    style.appendChild(document.createTextNode(css));

    // Remove any existing style with the same ID to avoid duplicates
    const prev = document.getElementById(‘force-red-style’);
    if (prev) prev.remove();

    // Append the new style to the document head
    document.head.appendChild(style);
    })();

    الرد

أترك تعليق

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

2025                           جميع الحقوق محفوظة لوزارة التربية والتعليم - اليمن ©