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

Fixing custom styles css #38

Merged
merged 2 commits into from
Aug 7, 2024
Merged

Fixing custom styles css #38

merged 2 commits into from
Aug 7, 2024

Conversation

manufer20
Copy link
Contributor

-Added comments when needed.
-Deleted not needed code.
-Changed color naming to var(--bg-primary) so the theme can be easily adapted to another one.

@zerothi zerothi changed the base branch from main to dev August 7, 2024 12:05
@zerothi zerothi merged commit 4c39027 into dtudk:dev Aug 7, 2024
1 check passed
zerothi added a commit that referenced this pull request Aug 27, 2024
* Major changes introduced by the web-site team

This encompasses a large variety of details, and still
many left-over issues to be handled subsequently.

- adding css for color coding in DTU color schemes
- adding nice images for 1st year students with immediate links
  to installation guides.
- many aesthetic changes
- updated all installation guides, to be finalized at a later point
- all images that were not used has been deleted

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* forgot to add the moved yml files for the gifs

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixing all errors and warnings

Nearly all errors and warnings has been fixed by this.

* Changed links and folder names (#36)

* Install python folder created

Changed the naming of the folders that has the installation guides and some of the name of the installation guides.

I also changed the name of the Knowledgebasegroup folder to videotutorials

* Rename folders in learn more with its current names

* Fixed all guides (#34)

* Fix all guides

Should be finished now

* Fix codeblocks, PowerShell og (base)

* minimized buttons

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Restructured "course" folder  (#37)

* Changed file structure of courses section (new name is "course" instead of "courses" in order to match kursusbasen)

* Added icons to drop down menus in courses section, and added links to matching coursebases everywhere

* Changed formulation in caption for dropdown menus in courses section to "looking for prvious years?" instead of "looking for old instructions?"

* Fixing custom styles css (#38)

Commented everything, and changed to use the primary variables.

* Css fixed for last packages (#40)

* css fixed to match the last packages

* Add buttons (#43)

* Add buttons repository-fullsScreen-themeSwitcher at the end

* fixed theme-switcher location

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* just did black, should do a pre-commit

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Updated code according to stylelint-standard

-Now all .css files are styled according to stylelint-config-standard package.
-I've also added a .styleintrc.json that can be used to further optimize the .css files as wanted.

Note: I decided to go with this because:

1- It seems to be periodically maintained.
2- It does not produce dramatic changes in the .css files.

* Update .styleintrc.json

Small change in the code

* Now the right-side bar is static, just like the header

-

* cleaned duplicate entries

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Small typos corrected

-

* Changed links for buttons on homepage

* more fixes to installation guides

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed image locations

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Fix spelling and other errors (#50)

* cleaned mac and windows installation

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed spelling mistakes (here and there)

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Rearranging-learn-more-13-august (#52)

* Rearranged structure of learn more section to not be split in two and using the 5 new sections previously discussed.

* Changes to new Learn more section

* Chnaged IDLE section to match video and rearranged file structure of learn more section with more appropriate names

* Chnaged name of learn more from underscore to dash

* FIxed dashes and underscores, and found some unused files to delete

* changed name to index in main uninstall file

---------

Co-authored-by: Manuel Fernandez <143493629+manufer20@users.noreply.github.com>

* spelling mistakes

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed building errors

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Installation guide top button color (#51)

* Different options for the color button
* Installation guide button changed

* Added points from Kasper's video to the the temrinal section as small cards. All the commands from the video are identical across mac and windows so there is no distinction between them.

Also cleaned up the uninstall software section, by fixing some typos and spelling errors. Changed link on index file to go to the new "packages and environments page". There was a toctree in the index file, that was hiiden, but I made it visible for more clarity.

* Charlie-Updating-install-page-14-August (#54)

* Updated "Install python" main page file and chnaged order of recommended guides. Added totctree to sidebar for "Install Python page". Added Terminalizer gifs to the terminal section, and moved headers outside cards. Added distinction (tabs) between windows and MacOS because the gifs look different.

* added every coursenumber to description, and added physcis to the description

* added every course number of physics

* fixed todos related to course guidelines

* Manual mac installation changed (#55)

* Manual mac installation changed

Introduced a new way of communicating the installation guides.

Note that we would like to use this style throughout the website to be consistent and clear

* All installation guides changed so that they follow the same format

All installation guides changed so that they follow the same format, I think that there are small things that can still be improved.

* Fixing TODOS for all the installationguides by fixing hyperlinks and adding images

(cherry picked from commit 455a75a)

* Learnmore vscode (#60)

* VSCode section starting to be reshaped

- Last two steps in the .py tutorial are still missing and will be edited when the video is completed.

- I'm waiting for the script for .ipynb video so that I can adapt to documentation and finish that section.

* Jupyer Notebook section created

* Updated oneliners (#58)

* updated oneliners

* fixed indentation

--------
Signed-off-by: Nick Papior <nicpa@dtu.dk>
Co-authored-by: Nick Papior <nicpa@dtu.dk>

* fixing links

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed links and images

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed spelling and clarifications

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixing home-page banner

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Guide readthrough and spell check

* merged two items in the Python installation overview

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Fix images in verifications on MacOS

* POlishe dup VS-code section and removed todos from courses page

* added channels to only use conda-forge

This is because of licensing issues for anaconda products (defaults channel)

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Added images to the script portion of VS-code section

* streamlining lots of things and ensured same tip boxes

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Add two Error files for if the install scripts fail

* fixed discord links and other smaller details

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* implemented lots of kbd + menuselection

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* create "packages and environments" (#69)

* create packages and environments

* added orphan in error pages

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* added employee warning for installing python

Should this be shown on all guides?

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* changed code-block to code, and fixed keyboard stuff

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* changed headers to subsections

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Insert videodropdown in all installation guides

* Video tutorials added with introduction message to videos

-Some videos are still missing.
-Links to Learn More section should be added to some videos

* Charlie-cleaning-up-old-files-16-august (#70)

* Added how to set default terminal in vs code to powershell, polished learn more section to make more accessible for everyone while also tailoring it to first year students. Deleted unised documents. and folders

* fixed minor details here and there

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Add video links for two more guides (#75)

* Add video links for two more guides

* Uninstall changed

I have included homebrew in the uninstall section

* fixed warnings

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Added videos to the video tutorials page

* Fixed some types in headers and added the automated installation video for macos

* Added the mac autoinstallation video to the guide

* Many small changes that I had on my to-do list that we talked about at some point

* Fixed changes discussed in PR on GitHub

* smaller cleanup here and there

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Chnaged "terminal" to "powershell window" in automated installation guide for windows

* fixed links

Sadly links cannot have icons in the internal
references. Perhaps this will be fixed later.

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* minor spelling mistakes etc.

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* spelling mistakes

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* added pandas, required for physics

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* added scipy and statsmodels (#83)

* added scipy and statsmodels

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* lots of spelling fixes and details here and there

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* final details, moved videos to videos folder

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* clarified search for windows

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* changed images to gifs for the conda-base check

Restructured the verification steps to be more step
like. It should be simpler to follow, and easier
to figure out what to do next.

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* clarified password questions

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* ensured tabs are synched.

And cleaned some presentations,
some places the indentation made it look like
a quotation.

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* clarified we are only open in 13 week periods

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* cleaned lots of small details with feedback from Morten

* colors for win-terminals are now faint blue
* added small linux installation instruction
* amended 02003 where left out
* opened up the drop-down in learn-more
* default course installation instructions for the PG courses.
* cleaned course installation instructions

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed links in course

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* amended Vedrana suggestions

And also many more minor details

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed locations

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* optipng'ed the files

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* optipng more images

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* Charlie-23-August-adding-videos-to-learn-more-section (#89)

* Added relevant video tutorials to learn more section and updated the video tutorials page with new videos

* Updated images for sum program in idle section and changed verification screenshot for windows

* changed import image for all macOS verifications

* optimized png's

Signed-off-by: Nick Papior <nicpa@dtu.dk>

* fixed room 43 in 358

Signed-off-by: Nick Papior <nicpa@dtu.dk>

---------

Signed-off-by: Nick Papior <nicpa@dtu.dk>
Co-authored-by: Manuel Fernandez <143493629+manufer20@users.noreply.github.com>
Co-authored-by: Nick Papior <nicpa@dtu.dk>
Co-authored-by: osorgenfrey <125464215+osorgenfrey@users.noreply.github.com>
Co-authored-by: ChuckFarlie <142898630+char056a@users.noreply.github.com>
Co-authored-by: ChuckFarlie <charlie.c.kjaerager@gmail.com>
Co-authored-by: philipnickel <58463901+philipnickel@users.noreply.github.com>
Co-authored-by: osorgenfrey <s224374@student.dtu.dk>
Co-authored-by: cnberk <72668761+cnberk@users.noreply.github.com>
Co-authored-by: s214786 <s214786@student.dtu.dk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants