Download style.css from Sourudra/License_Plate_Recognition_System: direct link, hf CLI and curl.
- Browser
- Download file 2.77 kB
-
https://huggingface.co/spaces/Sourudra/License_Plate_Recognition_System/resolve/main/style.css
- Command line
-
hf download hf://spaces/Sourudra/License_Plate_Recognition_System/style.css
-
curl -L -o style.css https://huggingface.co/spaces/Sourudra/License_Plate_Recognition_System/resolve/main/style.css
2.77 kB
| /* General Styling */ | |
| body { | |
| background: url('https://i.postimg.cc/zBX9cDZy/bmw-german-luxury-cars-brands-black-shiny-fast-car-in-a-misty-fog-01-11-2024-1730444676-hd-wallpaper.jpg | |
| ') no-repeat center center fixed; /* Set background image */ | |
| background-size: cover; /* Ensure the image covers the entire page */ | |
| font-family: 'Arial', sans-serif; /* Font for the entire app */ | |
| color: #333; /* Text color */ | |
| margin: 0; | |
| padding: 0; | |
| } | |
| /* Title Section */ | |
| .stApp .stTitle { | |
| background-color: rgba(76, 175, 80, 0.7); /* Semi-transparent background for the title */ | |
| color: white; /* White text color */ | |
| padding: 20px; | |
| text-align: center; | |
| font-size: 2.5rem; | |
| border-bottom: 2px solid #ddd; | |
| } | |
| /* Sidebar Styling */ | |
| .stSidebar { | |
| background-color: #ffffff; /* White background for the sidebar */ | |
| padding: 10px; | |
| border-right: 1px solid #ddd; /* Border for separation */ | |
| } | |
| .stSidebar .stSlider { | |
| background-color: #fafafa; | |
| } | |
| /* File Upload Section */ | |
| .stFileUploader { | |
| margin: 20px; | |
| text-align: center; | |
| padding: 20px; | |
| background-color: rgba(244, 244, 244, 0.8); /* Slightly transparent background */ | |
| border: 2px dashed #ddd; /* Dashed border for the file upload section */ | |
| } | |
| .stFileUploader input[type="file"] { | |
| margin-top: 10px; | |
| } | |
| /* Image and Video Display */ | |
| .stImage, .stVideo { | |
| display: block; | |
| margin: 20px auto; | |
| max-width: 100%; | |
| border: 2px solid #ddd; /* Border around the displayed images/videos */ | |
| border-radius: 10px; | |
| } | |
| .stImage img, .stVideo video { | |
| max-width: 100%; | |
| height: auto; | |
| } | |
| /* Buttons */ | |
| .stButton, .stDownloadButton { | |
| background-color: #4CAF50; /* Green background for buttons */ | |
| color: white; | |
| padding: 10px 20px; | |
| font-size: 1rem; | |
| border-radius: 5px; | |
| border: none; | |
| cursor: pointer; | |
| transition: background-color 0.3s ease; | |
| } | |
| .stButton:hover, .stDownloadButton:hover { | |
| background-color: #45a049; /* Darker green on hover */ | |
| } | |
| /* Success and Info Messages */ | |
| .stInfo { | |
| background-color: #2196F3; /* Blue background for info messages */ | |
| color: white; | |
| padding: 10px; | |
| border-radius: 5px; | |
| margin-top: 20px; | |
| } | |
| .stWarning { | |
| background-color: #ff9800; /* Orange background for warnings */ | |
| color: white; | |
| padding: 10px; | |
| border-radius: 5px; | |
| margin-top: 20px; | |
| } | |
| /* Styling the download button with an icon */ | |
| .stDownloadButton { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 1rem; | |
| padding: 10px 20px; | |
| } | |
| .stDownloadButton svg { | |
| margin-right: 10px; | |
| } | |
| /* Styling for the Footer */ | |
| footer { | |
| text-align: center; | |
| padding: 10px; | |
| background-color: #4CAF50; | |
| color: white; | |
| font-size: 1rem; | |
| } | |