Skip to content

Instantly share code, notes, and snippets.

@ericardomuten
Last active August 23, 2021 06:42
Show Gist options
  • Save ericardomuten/376c93022aacf2c55b679950f25cf21d to your computer and use it in GitHub Desktop.
Save ericardomuten/376c93022aacf2c55b679950f25cf21d to your computer and use it in GitHub Desktop.
CERN Summer Student GitHub & GitLab Badge

CERN Summer Student GitHub & GitLab Badge

This code is for CERN Summer Students or CERN openlab Summer Students that might want to use (please consult with your supervisor first) the badge provided here for their project repo's README. The code should work for both GitHub and GitLab (thanks to Julia Jansson for testing the code on GitLab!).

Wish you a memorable and productive summer! 🔬🌞🥳

Some information regarding the badge:

  • These badges are created with shields.io.
  • The blue color on the badge follows the CERN Design Guidelines.
  • The logo also follows the CERN Design Guidelines but with some edits (making the lines thicker) as CERN's logo is very complex. The logo is unrecognizable with the default line thickness (I tried and it didn't look good).
  • Why is the badge so big? Yes, it is a bit bigger than usual badges on GitHub README, but this size is what I believe as the best size in which the logo is still recognizable. For the same reason as the previous point, the logo is too complex, and it will become unrecognizable (it will look like random white pixels) if the badge is too small (I tried and it also didn't look good). Feel free to edit the size by changing the height in the badge's code if you don't like it.

The Badges

How to Use

  1. Please first read the Copyright Notice.
  2. Click Raw at the top of the gist to open the raw version of this gist.
  3. Copy-paste the code to produce the badge on your project repo's README. You can place it anywhere you like but usually people put badges below the repo's title.
  4. This is optional, but it would also be nice to mark your repo as a CERN Summer Student Programme's project repo by editing the repo's About and put cern-summer-student-program tag in the Topics.
  5. If you are not 2021 batch, you can change the year in the badge by looking for ... %20Summer%20Student-2021-5c5c5c? ... part inside the badge's code and change 2021 to your batch year.

If you have any questions, ping me on CERN Summer Student Discord or Mattermost (if you are 2021 batch), or you can contact me by email at eraraya-ricardo@qlab.itb.ac.id.

Contributing

If you have any ideas or suggestions to make the badge better, feel free to contact me by email.

Live Example (click the image to see the live version inside a repo)

Copyright Notice

Quoting the CERN Design Guidelines:

The CERN logo is the property of CERN, Working for CERN implies a responsability for the use of the logo.

The basic framework to use the CERN logo is: The project originates at CERN from concept to implementation, or conceived and implemented in collaboration with CERN, or has official support from CERN.

This gist is in no way assuming ownership of the CERN logo, nor the services provided by shields.io. The author of the gist is in no way affiliating the code with officials from CERN. To the extent possible under law, Eraraya Ricardo Muten has waived all copyright and related or neighboring rights to the code in this work (under CC0 1.0), but the right to the logo and the services used in this gist are belong to the supposed owner.

The CERN logo is legally protected. Please visit http://copyright.web.cern.ch/ for information on the terms of use of CERN content, including the CERN logo. The code is given as it is. Misuse of the CERN logo by the user(s) of this code is that user(s)'s own responsibility, and not the author of the gist. Using the code in this gist (or any part of it) is a sign of agreeing to this Copyright Notice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment