Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Image Container Styling to CSS File #1

Open
FMCalisto opened this issue Jul 26, 2023 · 0 comments
Open

Move Image Container Styling to CSS File #1

FMCalisto opened this issue Jul 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@FMCalisto
Copy link
Member

FMCalisto commented Jul 26, 2023

Description

Currently, the styling for image containers is embedded within the HTML file using inline <style> tags. To improve the maintainability and organization of the code, we should move this styling to a separate CSS file. This will make it easier to manage and apply consistent styles across the website.

Task

  1. Create a new CSS file named "image-containers.css" in the project's CSS directory.

  2. Copy the existing styles for image containers from the HTML file to the newly created CSS file.

  3. Modify the CSS selectors to target the appropriate elements. The existing selectors target elements with classes "row" and "2u," which should be updated to target the desired image containers.

  4. Replace the inline <style> tags in the HTML file with a link to the new CSS file using the <link> element in the <head> section.

For example:

<link rel="stylesheet" type="text/css" href="path/to/css/image-containers.css">
  1. Verify that the styles are applied correctly to the image containers after moving them to the CSS file.

Additional Notes

  • It's important to ensure that the CSS file is appropriately linked to the HTML file. Double-check the file path and ensure that it points to the correct location of the CSS file.

  • Make sure that the styling adjustments, such as width and margins, are applied consistently and as intended to maintain the layout of the image containers.

  • Test the changes across different browsers and devices to ensure compatibility and responsiveness.

Feel free to add any additional comments or details if required. Let's keep the communication open, and if you have any questions or concerns, don't hesitate to ask. Happy coding!

@FMCalisto FMCalisto added the enhancement New feature or request label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants