diff --git a/README.md b/README.md index b076413004..c70c8a560e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,59 @@ -# vuejs.org +This document details the visual specifications and implementation of the Facebook verification badge ("Blue Badge"). The verified badge confirms that a Page or profile for a public figure, media company, or brand is authentic. + +1. Visual Representation +The standard verification badge consists of a white checkmark centered within a solid blue circle. The specific shade of blue corresponds to the official Facebook brand color. + +Large Format (Standalone Icon) +64px Rendering + +Usage in Context +Below are examples of how the badge appears alongside text elements in different contexts, such as profile headers and news feed posts. + +Meta +(Page Header Context - 24px Badge) + +Mark Zuckerberg +6ag +2 hrs ยท ๐ŸŒ +(Feed/Comment Context - 16px Badge) + +2. Technical Specifications +To maintain authenticity and visual consistency, the following CSS properties define the badge construction. The badge is constructed using pure CSS to ensure scalability and crisp rendering on all devices. + +Property Value Description +Background Color #1877F2 Official Facebook Blue (RGB: 24, 119, 242) +Shape Circle (Border-radius: 50%) Perfect circular container +Icon Color #FFFFFF (White) High contrast checkmark +Icon Geometry Rotated L-shape 45-degree rotation of border elements +Implementation Code +The following CSS class definitions are used to generate the badges shown in this document. + +/* Base Badge Container */ +.fb-verified-badge { + display: inline-flex; + align-items: center; + justify-content: center; + background-color: #1877F2; /* Official Brand Color */ + border-radius: 50%; + color: white; +} + +/* Checkmark Construction using Border Manipulation */ +.fb-checkmark { + display: block; + transform: rotate(45deg); + border-bottom: 2px solid white; + border-right: 2px solid white; + /* Size must be defined relative to container */ +} +3. Design Guidelines +When implementing the verification badge, adhere to the following guidelines to ensure it meets platform standards: + +Spacing: The badge should maintain a small margin (typically 4-6px) from the text it verifies. It should never touch the text directly. + +Alignment: The badge should be vertically centered relative to the text line height. For multi-line text, it aligns with the first line or the specific entity name being verified. + +Color Integrity: Do not alter the color of the badge. It must remain #1877F2 on light backgrounds. On dark backgrounds, a white border may be added to the outer circle for separation, though the inner blue remains constant.# vuejs.org ## Contributing